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 with
non-tuple result- Author:
- Kisel on 13.9.2016.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJoinerQueryBase(com.querydsl.core.types.EntityPath<T> from) JoinerQueryBase(com.querydsl.core.types.EntityPath<T> from, com.querydsl.core.types.Expression<R> returnProjection) -
Method Summary
Modifier and TypeMethodDescription<R1,C> R1 accept(com.querydsl.core.types.Visitor<R1, C> v, C context) addFeatures(QueryFeature... features) addFeatures(Collection<QueryFeature> features) asc(com.querydsl.core.types.Expression<?> orderBy) copy()voidcount()desc(com.querydsl.core.types.Expression<?> orderBy) distinct(boolean isDistinct) Deprecated.non-distinct queries are not supported by JPA anymorebooleancom.querydsl.core.types.EntityPath<T>getFrom()com.querydsl.core.types.Path<?>[]com.querydsl.core.types.PredicategetHints()getJoins()getLimit()com.querydsl.core.QueryMetadatagetOrder()com.querydsl.core.types.Expression<R>getType()com.querydsl.core.types.PredicategetWhere()groupBy(com.querydsl.core.types.Path<?>... groupBy) inthashCode()having(com.querydsl.core.types.Predicate having) booleanisCount()booleanjoinGraphs(Enum... names) Add join graphs to the query.joinGraphs(String... names) Add join graphs to the query.joinGraphs(Collection<?> names) Add join graphs to the query.joins(com.querydsl.core.types.dsl.CollectionPathBase<?, ?, ?>... paths) joins(com.querydsl.core.types.EntityPath<?>... paths) Add left joins for specified pathsjoins(JoinDescription... joins) joins(Collection<JoinDescription> joins) Set max results for the query resultsSet offset for the query resultssetStatelessSession(Boolean statelessSession) voidsetSubQueryMetadata(com.querydsl.core.QueryMetadata metadata) toString()where(com.querydsl.core.types.Predicate where)
-
Field Details
-
lastJoin
-
-
Constructor Details
-
JoinerQueryBase
-
JoinerQueryBase
-
-
Method Details
-
getWhere
public com.querydsl.core.types.Predicate getWhere()- Specified by:
getWherein interfaceJoinerQuery<T,R>
-
distinct
Deprecated.non-distinct queries are not supported by JPA anymore- Specified by:
distinctin interfaceJoinerQuery<T,R>
-
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
- Specified by:
wherein interfaceJoinerQuery<T,R>
-
having
- Specified by:
havingin interfaceJoinerQuery<T,R>
-
getHaving
public com.querydsl.core.types.Predicate getHaving()- Specified by:
getHavingin interfaceJoinerQuery<T,R>
-
getFrom
- Specified by:
getFromin interfaceJoinerQuery<T,R>
-
getJoinGraphs
- Specified by:
getJoinGraphsin interfaceJoinerQuery<T,R>
-
getAllJoins
- Specified by:
getAllJoinsin interfaceJoinRoot
-
getJoins
- Specified by:
getJoinsin interfaceJoinerQuery<T,R>
-
joinGraphs
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:
-
joinGraphs
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:
-
joinGraphs
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:
-
joins
Description copied from interface:JoinerQueryAdd left joins for specified paths- Specified by:
joinsin interfaceJoinerQuery<T,R> - Parameters:
paths- join paths- Returns:
- this
-
joins
- Specified by:
joinsin interfaceJoinerQuery<T,R>
-
joins
- Specified by:
joinsin interfaceJoinerQuery<T,R>
-
joins
- Specified by:
joinsin interfaceJoinerQuery<T,R>
-
addHint
- Specified by:
addHintin interfaceJoinerQuery<T,R>
-
addFeatures
- Specified by:
addFeaturesin interfaceJoinerQuery<T,R>
-
addFeatures
- Specified by:
addFeaturesin interfaceJoinerQuery<T,R>
-
getFeatures
- Specified by:
getFeaturesin interfaceJoinerQuery<T,R>
-
getHints
- Specified by:
getHintsin interfaceJoinerQuery<T,R>
-
getReturnProjection
- Specified by:
getReturnProjectionin interfaceJoinerQuery<T,R>
-
offset
Description copied from interface:JoinerQuerySet offset for the query results- Specified by:
offsetin interfaceJoinerQuery<T,R> - Parameters:
offset- value- Returns:
- this
-
getOffset
- Specified by:
getOffsetin interfaceJoinerQuery<T,R>
-
limit
Description copied from interface:JoinerQuerySet max results for the query results- Specified by:
limitin interfaceJoinerQuery<T,R> - Parameters:
limit- value- Returns:
- this
-
getLimit
- Specified by:
getLimitin interfaceJoinerQuery<T,R>
-
asc
- Specified by:
ascin interfaceJoinerQuery<T,R>
-
desc
- Specified by:
descin interfaceJoinerQuery<T,R>
-
getOrder
- Specified by:
getOrderin interfaceJoinerQuery<T,R>
-
copy
- Specified by:
copyin interfaceJoinerQuery<T,R>
-
isCount
public boolean isCount()- Specified by:
isCountin interfaceJoinerQuery<T,R>
-
count
public void count() -
isStatelessSession
- Specified by:
isStatelessSessionin interfaceJoinerQuery<T,R>
-
setStatelessSession
- Specified by:
setStatelessSessionin interfaceJoinerQuery<T,R>
-
useStatelessSession
- Specified by:
useStatelessSessionin interfaceJoinerQuery<T,R>
-
toString
-
equals
-
hashCode
public int hashCode() -
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>
-
getType
- Specified by:
getTypein interfacecom.querydsl.core.types.Expression<T>
-