Package cz.encircled.joiner.query
Interface JoinerQuery<T,R>
- All Superinterfaces:
com.querydsl.core.types.Expression<R>,JoinRoot,Serializable,com.querydsl.core.types.SubQueryExpression<R>
- All Known Implementing Classes:
JoinerQueryBase,TupleJoinerQuery
Base interface which defines possible parameters of joiner query
T - select from
R - projection type
- Author:
- Vlad on 04-Sep-16.
-
Method Summary
Modifier and TypeMethodDescriptionaddFeatures(QueryFeature... features) addFeatures(Collection<QueryFeature> features) asc(com.querydsl.core.types.Expression<?> orderBy) copy()desc(com.querydsl.core.types.Expression<?> orderBy) distinct(boolean isDistinct) com.querydsl.core.types.EntityPath<T> getFrom()com.querydsl.core.types.Path<?>[]com.querydsl.core.types.PredicategetHints()getJoins()getLimit()getOrder()com.querydsl.core.types.Expression<R> com.querydsl.core.types.PredicategetWhere()groupBy(com.querydsl.core.types.Path<?>... groupBy) 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<?, ?, ?>... path) 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 resultsvoidsetSubQueryMetadata(com.querydsl.core.QueryMetadata metadata) where(com.querydsl.core.types.Predicate where) Methods inherited from interface com.querydsl.core.types.Expression
accept, getTypeMethods inherited from interface cz.encircled.joiner.query.JoinRoot
addJoin, getAllJoins, getJoinMethods inherited from interface com.querydsl.core.types.SubQueryExpression
getMetadata
-
Method Details
-
getFrom
com.querydsl.core.types.EntityPath<T> getFrom() -
getReturnProjection
com.querydsl.core.types.Expression<R> getReturnProjection() -
where
-
getWhere
com.querydsl.core.types.Predicate getWhere() -
distinct
-
isDistinct
boolean isDistinct() -
groupBy
-
getGroupBy
com.querydsl.core.types.Path<?>[] getGroupBy() -
having
-
getHaving
com.querydsl.core.types.Predicate getHaving() -
joinGraphs
Add join graphs to the query.- Parameters:
names- names of join graphs- Returns:
- this
- See Also:
-
joinGraphs
Add join graphs to the query.- Parameters:
names- names of join graphs- Returns:
- this
- See Also:
-
joinGraphs
Add join graphs to the query.- Parameters:
names- names of join graphs- Returns:
- this
- See Also:
-
getJoinGraphs
-
joins
Add left joins for specified paths- Parameters:
paths- join paths- Returns:
- this
-
joins
-
joins
-
joins
-
getJoins
Collection<JoinDescription> getJoins() -
addHint
-
getHints
LinkedHashMap<String,List<Object>> getHints() -
addFeatures
-
addFeatures
-
getFeatures
List<QueryFeature> getFeatures() -
offset
Set offset for the query results- Parameters:
offset- value- Returns:
- this
-
getOffset
Long getOffset() -
limit
Set max results for the query results- Parameters:
limit- value- Returns:
- this
-
getLimit
Long getLimit() -
asc
-
desc
-
getOrder
List<QueryOrder> getOrder() -
copy
JoinerQuery<T,R> copy() -
isCount
boolean isCount() -
setSubQueryMetadata
void setSubQueryMetadata(com.querydsl.core.QueryMetadata metadata)
-