Package cz.encircled.joiner.query
Class JoinerQueryBase<T,R>
- java.lang.Object
-
- cz.encircled.joiner.query.JoinerQueryBase<T,R>
-
- All Implemented Interfaces:
com.querydsl.core.types.Expression<R>,com.querydsl.core.types.SubQueryExpression<R>,JoinerQuery<T,R>,JoinRoot,Serializable
- Direct Known Subclasses:
TupleJoinerQuery
public class JoinerQueryBase<T,R> extends Object implements JoinerQuery<T,R>, JoinRoot, com.querydsl.core.types.SubQueryExpression<R>
Implementation of joiner query withnon-tupleresult- Author:
- Kisel on 13.9.2016.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JoinerQueryBase(com.querydsl.core.types.EntityPath<T> from)JoinerQueryBase(com.querydsl.core.types.EntityPath<T> from, com.querydsl.core.types.Expression<R> returnProjection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R1,C>
R1accept(com.querydsl.core.types.Visitor<R1,C> v, C context)JoinerQueryBase<T,R>addFeatures(QueryFeature... features)JoinerQueryBase<T,R>addFeatures(Collection<QueryFeature> features)JoinerQueryBase<T,R>addHint(String hint, Object value)JoinerQueryBase<T,R>asc(com.querydsl.core.types.Expression<?> orderBy)JoinerQuery<T,R>copy()voidcount()JoinerQueryBase<T,R>desc(com.querydsl.core.types.Expression<?> orderBy)JoinerQueryBase<T,R>distinct(boolean isDistinct)booleanequals(Object o)Map<String,JoinDescription>getAllJoins()List<QueryFeature>getFeatures()com.querydsl.core.types.EntityPath<T>getFrom()com.querydsl.core.types.Path<?>getGroupBy()com.querydsl.core.types.PredicategetHaving()LinkedHashMap<String,List<Object>>getHints()Set<Object>getJoinGraphs()Collection<JoinDescription>getJoins()LonggetLimit()com.querydsl.core.QueryMetadatagetMetadata()LonggetOffset()List<QueryOrder>getOrder()com.querydsl.core.types.Expression<R>getReturnProjection()Class<? extends R>getType()com.querydsl.core.types.PredicategetWhere()JoinerQueryBase<T,R>groupBy(com.querydsl.core.types.Path<?> groupBy)inthashCode()JoinerQueryBase<T,R>having(com.querydsl.core.types.Predicate having)booleanisCount()booleanisDistinct()JoinerQueryBase<T,R>joinGraphs(Enum... names)Add join graphs to the query.JoinerQueryBase<T,R>joinGraphs(String... names)Add join graphs to the query.JoinerQueryBase<T,R>joinGraphs(Collection<?> names)Add join graphs to the query.JoinerQueryBase<T,R>joins(com.querydsl.core.types.dsl.CollectionPathBase<?,?,?>... paths)JoinerQueryBase<T,R>joins(com.querydsl.core.types.EntityPath<?>... paths)Add left joins for specified pathsJoinerQueryBase<T,R>joins(JoinDescription... joins)JoinerQueryBase<T,R>joins(Collection<JoinDescription> joins)JoinerQueryBase<T,R>limit(Long limit)Set max results for the query resultsJoinerQueryBase<T,R>offset(Long offset)Set offset for the query resultsvoidsetSubQueryMetadata(com.querydsl.core.QueryMetadata metadata)StringtoString()JoinerQueryBase<T,R>where(com.querydsl.core.types.Predicate where)
-
-
-
Method Detail
-
getWhere
public com.querydsl.core.types.Predicate getWhere()
- Specified by:
getWherein interfaceJoinerQuery<T,R>
-
distinct
public JoinerQueryBase<T,R> distinct(boolean isDistinct)
- Specified by:
distinctin interfaceJoinerQuery<T,R>
-
groupBy
public JoinerQueryBase<T,R> groupBy(com.querydsl.core.types.Path<?> groupBy)
- Specified by:
groupByin interfaceJoinerQuery<T,R>
-
getGroupBy
public com.querydsl.core.types.Path<?> getGroupBy()
- Specified by:
getGroupByin interfaceJoinerQuery<T,R>
-
isDistinct
public boolean isDistinct()
- Specified by:
isDistinctin interfaceJoinerQuery<T,R>
-
where
public JoinerQueryBase<T,R> where(com.querydsl.core.types.Predicate where)
- Specified by:
wherein interfaceJoinerQuery<T,R>
-
having
public JoinerQueryBase<T,R> having(com.querydsl.core.types.Predicate having)
- Specified by:
havingin interfaceJoinerQuery<T,R>
-
getHaving
public com.querydsl.core.types.Predicate getHaving()
- Specified by:
getHavingin interfaceJoinerQuery<T,R>
-
getFrom
public com.querydsl.core.types.EntityPath<T> getFrom()
- Specified by:
getFromin interfaceJoinerQuery<T,R>
-
getJoinGraphs
public Set<Object> getJoinGraphs()
- Specified by:
getJoinGraphsin interfaceJoinerQuery<T,R>
-
getAllJoins
public Map<String,JoinDescription> getAllJoins()
- Specified by:
getAllJoinsin interfaceJoinRoot
-
getJoins
public Collection<JoinDescription> getJoins()
- Specified by:
getJoinsin interfaceJoinerQuery<T,R>
-
joinGraphs
public JoinerQueryBase<T,R> joinGraphs(String... names)
Description copied from interface:JoinerQueryAdd join graphs to the query.- Specified by:
joinGraphsin interfaceJoinerQuery<T,R>- Parameters:
names- names of join graphs- Returns:
- this
- See Also:
JoinGraphRegistry
-
joinGraphs
public JoinerQueryBase<T,R> joinGraphs(Enum... names)
Description copied from interface:JoinerQueryAdd join graphs to the query.- Specified by:
joinGraphsin interfaceJoinerQuery<T,R>- Parameters:
names- names of join graphs- Returns:
- this
- See Also:
JoinGraphRegistry
-
joinGraphs
public JoinerQueryBase<T,R> joinGraphs(Collection<?> names)
Description copied from interface:JoinerQueryAdd join graphs to the query.- Specified by:
joinGraphsin interfaceJoinerQuery<T,R>- Parameters:
names- names of join graphs- Returns:
- this
- See Also:
JoinGraphRegistry
-
joins
public JoinerQueryBase<T,R> joins(com.querydsl.core.types.EntityPath<?>... paths)
Description copied from interface:JoinerQueryAdd left joins for specified paths- Specified by:
joinsin interfaceJoinerQuery<T,R>- Parameters:
paths- join paths- Returns:
- this
-
joins
public JoinerQueryBase<T,R> joins(com.querydsl.core.types.dsl.CollectionPathBase<?,?,?>... paths)
- Specified by:
joinsin interfaceJoinerQuery<T,R>
-
joins
public JoinerQueryBase<T,R> joins(JoinDescription... joins)
- Specified by:
joinsin interfaceJoinerQuery<T,R>
-
joins
public JoinerQueryBase<T,R> joins(Collection<JoinDescription> joins)
- Specified by:
joinsin interfaceJoinerQuery<T,R>
-
addHint
public JoinerQueryBase<T,R> addHint(String hint, Object value)
- Specified by:
addHintin interfaceJoinerQuery<T,R>
-
addFeatures
public JoinerQueryBase<T,R> addFeatures(QueryFeature... features)
- Specified by:
addFeaturesin interfaceJoinerQuery<T,R>
-
addFeatures
public JoinerQueryBase<T,R> addFeatures(Collection<QueryFeature> features)
- Specified by:
addFeaturesin interfaceJoinerQuery<T,R>
-
getFeatures
public List<QueryFeature> getFeatures()
- Specified by:
getFeaturesin interfaceJoinerQuery<T,R>
-
getHints
public LinkedHashMap<String,List<Object>> getHints()
- Specified by:
getHintsin interfaceJoinerQuery<T,R>
-
getReturnProjection
public com.querydsl.core.types.Expression<R> getReturnProjection()
- Specified by:
getReturnProjectionin interfaceJoinerQuery<T,R>
-
offset
public JoinerQueryBase<T,R> offset(Long offset)
Description copied from interface:JoinerQuerySet offset for the query results- Specified by:
offsetin interfaceJoinerQuery<T,R>- Parameters:
offset- value- Returns:
- this
-
getOffset
public Long getOffset()
- Specified by:
getOffsetin interfaceJoinerQuery<T,R>
-
limit
public JoinerQueryBase<T,R> limit(Long limit)
Description copied from interface:JoinerQuerySet max results for the query results- Specified by:
limitin interfaceJoinerQuery<T,R>- Parameters:
limit- value- Returns:
- this
-
getLimit
public Long getLimit()
- Specified by:
getLimitin interfaceJoinerQuery<T,R>
-
asc
public JoinerQueryBase<T,R> asc(com.querydsl.core.types.Expression<?> orderBy)
- Specified by:
ascin interfaceJoinerQuery<T,R>
-
desc
public JoinerQueryBase<T,R> desc(com.querydsl.core.types.Expression<?> orderBy)
- Specified by:
descin interfaceJoinerQuery<T,R>
-
getOrder
public List<QueryOrder> getOrder()
- Specified by:
getOrderin interfaceJoinerQuery<T,R>
-
copy
public JoinerQuery<T,R> copy()
- Specified by:
copyin interfaceJoinerQuery<T,R>
-
isCount
public boolean isCount()
- Specified by:
isCountin interfaceJoinerQuery<T,R>
-
count
public void count()
-
setSubQueryMetadata
public void setSubQueryMetadata(com.querydsl.core.QueryMetadata metadata)
- Specified by:
setSubQueryMetadatain interfaceJoinerQuery<T,R>
-
getMetadata
public com.querydsl.core.QueryMetadata getMetadata()
- Specified by:
getMetadatain interfacecom.querydsl.core.types.SubQueryExpression<T>
-
accept
public <R1,C> R1 accept(com.querydsl.core.types.Visitor<R1,C> v, C context)- Specified by:
acceptin interfacecom.querydsl.core.types.Expression<T>
-
-