Class AbstractBlazeJPAQuery<T,Q extends AbstractBlazeJPAQuery<T,Q>>
java.lang.Object
com.querydsl.core.support.QueryBase<Q>
com.querydsl.core.support.FetchableQueryBase<T,Q>
com.querydsl.core.support.FetchableSubQueryBase<T,Q>
com.querydsl.jpa.JPAQueryBase<T,Q>
com.querydsl.jpa.impl.AbstractJPAQuery<T,Q>
com.blazebit.persistence.querydsl.AbstractBlazeJPAQuery<T,Q>
- Type Parameters:
T- Query result typeQ- Concrete query builder type
- All Implemented Interfaces:
ExtendedFetchable<T>,JPQLNextQuery<T>,com.querydsl.core.Fetchable<T>,com.querydsl.core.FetchableQuery<T,,com.querydsl.jpa.JPQLQuery<T>> com.querydsl.core.FilteredClause<com.querydsl.jpa.JPQLQuery<T>>,com.querydsl.core.Query<com.querydsl.jpa.JPQLQuery<T>>,com.querydsl.core.SimpleQuery<com.querydsl.jpa.JPQLQuery<T>>,com.querydsl.core.support.ExtendedSubQuery<T>,com.querydsl.core.types.Expression<T>,com.querydsl.core.types.SubQueryExpression<T>,com.querydsl.jpa.JPQLQuery<T>,Serializable
- Direct Known Subclasses:
BlazeJPAQuery
public abstract class AbstractBlazeJPAQuery<T,Q extends AbstractBlazeJPAQuery<T,Q>>
extends com.querydsl.jpa.impl.AbstractJPAQuery<T,Q>
implements JPQLNextQuery<T>, ExtendedFetchable<T>
Abstract base class for JPA API based implementations of the JPQLQuery interface
- Since:
- 1.5.0
- Author:
- Jan-Willem Gmelig Meyling
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected final CriteriaBuilderFactorystatic final com.querydsl.core.JoinFlagDefault join flag.static final com.querydsl.core.JoinFlagLateral join flag.Fields inherited from class com.querydsl.jpa.impl.AbstractJPAQuery
entityManager, flushMode, hints, lockMode, projection, queryHandlerFields inherited from class com.querydsl.jpa.JPAQueryBase
queryMixinFields inherited from class com.querydsl.core.support.QueryBase
MDC_PARAMETERS, MDC_QUERY -
Constructor Summary
ConstructorsConstructorDescriptionAbstractBlazeJPAQuery(CriteriaBuilderFactory criteriaBuilderFactory) AbstractBlazeJPAQuery(javax.persistence.EntityManager em, CriteriaBuilderFactory criteriaBuilderFactory) AbstractBlazeJPAQuery(javax.persistence.EntityManager em, com.querydsl.core.QueryMetadata metadata, CriteriaBuilderFactory criteriaBuilderFactory) AbstractBlazeJPAQuery(javax.persistence.EntityManager em, com.querydsl.jpa.JPQLTemplates templates, CriteriaBuilderFactory criteriaBuilderFactory) AbstractBlazeJPAQuery(javax.persistence.EntityManager em, com.querydsl.jpa.JPQLTemplates templates, com.querydsl.core.QueryMetadata metadata, CriteriaBuilderFactory criteriaBuilderFactory) -
Method Summary
Modifier and TypeMethodDescription<U> Qbind(com.querydsl.core.types.Path<? super U> path, com.querydsl.core.types.Expression<? extends U> expression) Bind a CTE attribute to a select expression.protected voidjavax.persistence.Queryprotected javax.persistence.QuerycreateQuery(com.querydsl.core.QueryModifiers modifiers, boolean forCount) protected JPQLNextSerializerMark the last join as a default join.final <RT> SetExpression<RT>except(com.querydsl.core.types.SubQueryExpression<RT>... sq) Creates an except expression for the given subqueries.<RT> SetExpression<RT>Creates an except expression for the given subqueriesfinal <RT> SetExpression<RT>exceptAll(com.querydsl.core.types.SubQueryExpression<RT>... sq) Creates an except expression for the given subqueries.<RT> SetExpression<RT>Creates an except expression for the given subquerieslongfetchOne()fetchPage(int firstResult, int maxResults) Execute the query and return the result as a type PagedList.fetchPage(KeysetPage keysetPage, int firstResult, int maxResults) Execute the query and return the result as a type PagedList.com.querydsl.core.QueryResults<T>Deprecated.Blaze-Persistence has better ways for paginated result sets, which are also optimized to use a single query.<X> Qfrom(com.querydsl.core.types.SubQueryExpression<X> subQueryExpression, com.querydsl.core.types.Path<X> alias) Add sources to this query<X> QfromIdentifiableValues(com.querydsl.core.types.EntityPath<X> path, Collection<X> elements) Select from a set of values using theVALUESclause.<X> QfromIdentifiableValues(com.querydsl.core.types.Path<X> path, com.querydsl.core.types.Path<X> alias, Collection<X> elements) Select from a set of values using theVALUESclause.<X> QfromValues(com.querydsl.core.types.EntityPath<X> path, Collection<X> elements) Select from a set of values using theVALUESclause.<X> QfromValues(com.querydsl.core.types.Path<X> path, com.querydsl.core.types.Path<X> alias, Collection<X> elements) Select from a set of values using theVALUESclause.<P> QfullJoin(com.querydsl.core.types.CollectionExpression<?, P> target) Create a full join with the given target.<P> QfullJoin(com.querydsl.core.types.CollectionExpression<?, P> target, com.querydsl.core.types.Path<P> alias) Create a full join with the given target.<P> QfullJoin(com.querydsl.core.types.EntityPath<P> target) Create a full join with the given target.<P> QfullJoin(com.querydsl.core.types.EntityPath<P> target, com.querydsl.core.types.Path<P> alias) Create a full join with the given target.<P> QfullJoin(com.querydsl.core.types.MapExpression<?, P> target) Create a full join with the given target.<P> QfullJoin(com.querydsl.core.types.MapExpression<?, P> target, com.querydsl.core.types.Path<P> alias) Create a full join with the given target.<X> QfullJoin(com.querydsl.core.types.SubQueryExpression<X> o, com.querydsl.core.types.Path<X> alias) Adds a full join to the given target.protected FullQueryBuilder<T,?> getFullQueryBuilder(com.querydsl.core.QueryModifiers modifiers) getQueryable(com.querydsl.core.QueryModifiers modifiers) Get the query string.<X> QinnerJoin(com.querydsl.core.types.SubQueryExpression<X> o, com.querydsl.core.types.Path<X> alias) Adds a inner join to the given target.final <RT> SetExpression<RT>intersect(com.querydsl.core.types.SubQueryExpression<RT>... sq) Creates an intersect expression for the given subqueries.<RT> SetExpression<RT>Creates an intersect expression for the given subqueries.final <RT> SetExpression<RT>intersectAll(com.querydsl.core.types.SubQueryExpression<RT>... sq) Creates an intersect expression for the given subqueries.<RT> SetExpression<RT>intersectAll(List<com.querydsl.core.types.SubQueryExpression<RT>> sq) Creates an intersect expression for the given subquerieslateral()Mark the last join as a lateral join.<X> QleftJoin(com.querydsl.core.types.SubQueryExpression<X> o, com.querydsl.core.types.Path<X> alias) Adds a left join to the given subquery target.<X> QrightJoin(com.querydsl.core.types.SubQueryExpression<X> o, com.querydsl.core.types.Path<X> alias) Adds a right join to the given target.protected com.querydsl.jpa.JPQLSerializerserialize(boolean forCountRow) setCacheable(boolean cacheable) <RT> SetExpression<RT>setOperation(JPQLNextOps operator, boolean wrapSets, List<com.querydsl.core.types.SubQueryExpression<RT>> sq) final <RT> SetExpression<RT>union(com.querydsl.core.types.SubQueryExpression<RT>... sq) Creates an union expression for the given subqueries.<RT> SetExpression<RT>Creates an union expression for the given subqueries.final <RT> SetExpression<RT>unionAll(com.querydsl.core.types.SubQueryExpression<RT>... sq) Creates an union expression for the given subqueries.<RT> SetExpression<RT>Creates an union expression for the given subqueries.window(NamedWindow namedWindow) Add a named window to this query.with(com.querydsl.core.types.EntityPath<?> alias, com.querydsl.core.types.Path<?>... columns) Register a common table expression (CTE).<X> Qwith(com.querydsl.core.types.Path<X> alias, com.querydsl.core.types.SubQueryExpression<?> o) Register a common table expression (CTE).withRecursive(com.querydsl.core.types.EntityPath<?> alias, com.querydsl.core.types.Path<?>... columns) Register a recursive common table expression (CTE).<X> QwithRecursive(com.querydsl.core.types.Path<X> alias, com.querydsl.core.types.SubQueryExpression<?> o) Register a recursive common table expression (CTE).Methods inherited from class com.querydsl.jpa.impl.AbstractJPAQuery
clone, clone, clone, fetch, iterate, logQuery, reset, setFlushMode, setHint, setLockMode, streamMethods inherited from class com.querydsl.jpa.JPAQueryBase
fetchAll, fetchJoin, from, from, from, getTemplates, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, on, on, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, serialize, toStringMethods inherited from class com.querydsl.core.support.FetchableSubQueryBase
accept, contains, contains, eq, eq, exists, getMetadata, getType, goe, goe, gt, gt, hashCode, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExistsMethods inherited from class com.querydsl.core.support.FetchableQueryBase
equals, fetchFirst, transform, uniqueResultMethods inherited from class com.querydsl.core.support.QueryBase
distinct, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, restrict, set, where, whereMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.querydsl.core.types.Expression
accept, getTypeMethods inherited from interface com.querydsl.core.support.ExtendedSubQuery
contains, contains, eq, eq, exists, goe, goe, gt, gt, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExistsMethods inherited from interface com.querydsl.core.Fetchable
fetch, fetchFirst, iterate, streamMethods inherited from interface com.querydsl.core.FetchableQuery
transformMethods inherited from interface com.blazebit.persistence.querydsl.JPQLNextQuery
distinct, fetchAll, fetchJoin, from, from, groupBy, having, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, limit, offset, on, orderBy, restrict, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, select, select, set, whereMethods inherited from interface com.querydsl.core.types.SubQueryExpression
getMetadata
-
Field Details
-
LATERAL
public static final com.querydsl.core.JoinFlag LATERALLateral join flag. Can be added usingQueryMetadata.addJoinFlag(JoinFlag). Used internally for implementinglateral(). -
DEFAULT
public static final com.querydsl.core.JoinFlag DEFAULTDefault join flag. Can be added usingQueryMetadata.addJoinFlag(JoinFlag). -
criteriaBuilderFactory
-
cacheable
protected boolean cacheable -
binds
-
-
Constructor Details
-
AbstractBlazeJPAQuery
-
AbstractBlazeJPAQuery
public AbstractBlazeJPAQuery(javax.persistence.EntityManager em, CriteriaBuilderFactory criteriaBuilderFactory) -
AbstractBlazeJPAQuery
public AbstractBlazeJPAQuery(javax.persistence.EntityManager em, com.querydsl.core.QueryMetadata metadata, CriteriaBuilderFactory criteriaBuilderFactory) -
AbstractBlazeJPAQuery
public AbstractBlazeJPAQuery(javax.persistence.EntityManager em, com.querydsl.jpa.JPQLTemplates templates, CriteriaBuilderFactory criteriaBuilderFactory) -
AbstractBlazeJPAQuery
public AbstractBlazeJPAQuery(javax.persistence.EntityManager em, com.querydsl.jpa.JPQLTemplates templates, com.querydsl.core.QueryMetadata metadata, CriteriaBuilderFactory criteriaBuilderFactory)
-
-
Method Details
-
createSerializer
- Overrides:
createSerializerin classcom.querydsl.jpa.impl.AbstractJPAQuery<T,Q extends AbstractBlazeJPAQuery<T, Q>>
-
fromValues
Description copied from interface:JPQLNextQuerySelect from a set of values using theVALUESclause.- Specified by:
fromValuesin interfaceJPQLNextQuery<T>- Type Parameters:
X- The element type- Parameters:
path- Type of valueselements- The elements- Returns:
- this query
-
fromIdentifiableValues
public <X> Q fromIdentifiableValues(com.querydsl.core.types.EntityPath<X> path, Collection<X> elements) Description copied from interface:JPQLNextQuerySelect from a set of values using theVALUESclause.- Specified by:
fromIdentifiableValuesin interfaceJPQLNextQuery<T>- Type Parameters:
X- The element type- Parameters:
path- Type of valueselements- The elements- Returns:
- this query
-
fromValues
public <X> Q fromValues(com.querydsl.core.types.Path<X> path, com.querydsl.core.types.Path<X> alias, Collection<X> elements) Description copied from interface:JPQLNextQuerySelect from a set of values using theVALUESclause.- Specified by:
fromValuesin interfaceJPQLNextQuery<T>- Type Parameters:
X- The element type- Parameters:
path- Type of valuesalias- The alias from which the values can be referencedelements- The elements- Returns:
- this query
-
fromIdentifiableValues
public <X> Q fromIdentifiableValues(com.querydsl.core.types.Path<X> path, com.querydsl.core.types.Path<X> alias, Collection<X> elements) Description copied from interface:JPQLNextQuerySelect from a set of values using theVALUESclause.- Specified by:
fromIdentifiableValuesin interfaceJPQLNextQuery<T>- Type Parameters:
X- The element type- Parameters:
path- Type of valuesalias- The alias from which the values can be referencedelements- The elements- Returns:
- this query
-
with
public WithBuilder<Q> with(com.querydsl.core.types.EntityPath<?> alias, com.querydsl.core.types.Path<?>... columns) Description copied from interface:JPQLNextQueryRegister a common table expression (CTE). Returns a builder through which the CTE can be provided asSubQueryExpression.- Specified by:
within interfaceJPQLNextQuery<T>- Parameters:
alias- The alias for the CTEcolumns- The columns for the CTE- Returns:
- this query
-
with
public <X> Q with(com.querydsl.core.types.Path<X> alias, com.querydsl.core.types.SubQueryExpression<?> o) Description copied from interface:JPQLNextQueryRegister a common table expression (CTE). Analog toProjectableSQLQuery.with(Path, SubQueryExpression).- Specified by:
within interfaceJPQLNextQuery<T>- Type Parameters:
X- CTE type- Parameters:
alias- The alias for the CTEo- The subquery expression- Returns:
- this query
-
withRecursive
public <X> Q withRecursive(com.querydsl.core.types.Path<X> alias, com.querydsl.core.types.SubQueryExpression<?> o) Description copied from interface:JPQLNextQueryRegister a recursive common table expression (CTE). Analog toProjectableSQLQuery.withRecursive(Path, SubQueryExpression).- Specified by:
withRecursivein interfaceJPQLNextQuery<T>- Type Parameters:
X- CTE type- Parameters:
alias- The alias for the CTEo- The subquery expression- Returns:
- this query
-
withRecursive
public WithBuilder<Q> withRecursive(com.querydsl.core.types.EntityPath<?> alias, com.querydsl.core.types.Path<?>... columns) Description copied from interface:JPQLNextQueryRegister a recursive common table expression (CTE). Returns a builder through which the CTE can be provided asSubQueryExpression.- Specified by:
withRecursivein interfaceJPQLNextQuery<T>- Parameters:
alias- The alias for the CTEcolumns- The columns for the CTE- Returns:
- this query
-
createQuery
public javax.persistence.Query createQuery()- Overrides:
createQueryin classcom.querydsl.jpa.impl.AbstractJPAQuery<T,Q extends AbstractBlazeJPAQuery<T, Q>>
-
createQuery
protected javax.persistence.Query createQuery(@Nullable com.querydsl.core.QueryModifiers modifiers, boolean forCount) - Overrides:
createQueryin classcom.querydsl.jpa.impl.AbstractJPAQuery<T,Q extends AbstractBlazeJPAQuery<T, Q>>
-
fetchPage
Description copied from interface:ExtendedFetchableExecute the query and return the result as a type PagedList.- Specified by:
fetchPagein interfaceExtendedFetchable<T>- Parameters:
firstResult- The position of the first result to retrieve, numbered from 0maxResults- The maximum number of results to retrieve- Returns:
- The paged list of the results
- See Also:
-
fetchPage
Description copied from interface:ExtendedFetchableExecute the query and return the result as a type PagedList.- Specified by:
fetchPagein interfaceExtendedFetchable<T>- Parameters:
keysetPage- The key set from a previous result, may be nullfirstResult- The position of the first result to retrieve, numbered from 0maxResults- The maximum number of results to retrieve- Returns:
- The paged list of the results
- See Also:
-
getQueryString
Description copied from interface:ExtendedFetchableGet the query string.- Specified by:
getQueryStringin interfaceExtendedFetchable<T>- Returns:
- the query string
- See Also:
-
getFullQueryBuilder
protected FullQueryBuilder<T,?> getFullQueryBuilder(@Nullable com.querydsl.core.QueryModifiers modifiers) -
getQueryable
-
clone
- Overrides:
clonein classcom.querydsl.jpa.impl.AbstractJPAQuery<T,Q extends AbstractBlazeJPAQuery<T, Q>>
-
fetchCount
public long fetchCount() -
fetchResults
Deprecated.Blaze-Persistence has better ways for paginated result sets, which are also optimized to use a single query.Get the projection inQueryResultsform -
fetchOne
-
fullJoin
Description copied from interface:JPQLNextQueryCreate a full join with the given target. Analog toSQLCommonQuery.fullJoin(EntityPath). UseJPQLNextQuery.fetchJoin()to add the fetchJoin parameter to this join. UseJPQLNextQuery.lateral()to use a lateral join for this join.- Specified by:
fullJoinin interfaceJPQLNextQuery<T>- Type Parameters:
P- The type of the join target- Parameters:
target- The join target- Returns:
- this query
-
fullJoin
public <P> Q fullJoin(com.querydsl.core.types.CollectionExpression<?, P> target, com.querydsl.core.types.Path<P> alias) Description copied from interface:JPQLNextQueryCreate a full join with the given target. Analog toSQLCommonQuery.fullJoin(EntityPath). UseJPQLNextQuery.fetchJoin()to add the fetchJoin parameter to this join. UseJPQLNextQuery.lateral()to use a lateral join for this join.- Specified by:
fullJoinin interfaceJPQLNextQuery<T>- Type Parameters:
P- The type of the join target- Parameters:
target- The join targetalias- alias- Returns:
- the current object
-
fullJoin
Description copied from interface:JPQLNextQueryCreate a full join with the given target. Analog toSQLCommonQuery.fullJoin(EntityPath). UseJPQLNextQuery.fetchJoin()to add the fetchJoin parameter to this join. UseJPQLNextQuery.lateral()to use a lateral join for this join.- Specified by:
fullJoinin interfaceJPQLNextQuery<T>- Type Parameters:
P- The type of the join target- Parameters:
target- The join target- Returns:
- the current object
-
fullJoin
public <P> Q fullJoin(com.querydsl.core.types.EntityPath<P> target, com.querydsl.core.types.Path<P> alias) Description copied from interface:JPQLNextQueryCreate a full join with the given target. Analog toSQLCommonQuery.fullJoin(EntityPath). UseJPQLNextQuery.fetchJoin()to add the fetchJoin parameter to this join. UseJPQLNextQuery.lateral()to use a lateral join for this join.- Specified by:
fullJoinin interfaceJPQLNextQuery<T>- Type Parameters:
P- The type of the join target- Parameters:
target- The join targetalias- The alias under which the join can be referenced- Returns:
- the current object
-
fullJoin
Description copied from interface:JPQLNextQueryCreate a full join with the given target. Analog toSQLCommonQuery.fullJoin(EntityPath). UseJPQLNextQuery.fetchJoin()to add the fetchJoin parameter to this join. UseJPQLNextQuery.lateral()to use a lateral join for this join.- Specified by:
fullJoinin interfaceJPQLNextQuery<T>- Type Parameters:
P- The type of the join target- Parameters:
target- The join target- Returns:
- the current object
-
fullJoin
public <P> Q fullJoin(com.querydsl.core.types.MapExpression<?, P> target, com.querydsl.core.types.Path<P> alias) Description copied from interface:JPQLNextQueryCreate a full join with the given target. Analog toSQLCommonQuery.fullJoin(EntityPath). UseJPQLNextQuery.fetchJoin()to add the fetchJoin parameter to this join. UseJPQLNextQuery.lateral()to use a lateral join for this join.- Specified by:
fullJoinin interfaceJPQLNextQuery<T>- Type Parameters:
P- The type of the join target- Parameters:
target- The join targetalias- The alias under which the join can be referenced- Returns:
- the current object
-
from
public <X> Q from(com.querydsl.core.types.SubQueryExpression<X> subQueryExpression, com.querydsl.core.types.Path<X> alias) Description copied from interface:JPQLNextQueryAdd sources to this query- Specified by:
fromin interfaceJPQLNextQuery<T>- Type Parameters:
X- Expression type- Parameters:
subQueryExpression- Subquery expressionalias- The alias for the subquery from which it can be referenced in the outer query- Returns:
- the current object
-
leftJoin
public <X> Q leftJoin(com.querydsl.core.types.SubQueryExpression<X> o, com.querydsl.core.types.Path<X> alias) Description copied from interface:JPQLNextQueryAdds a left join to the given subquery target. Analog toSQLCommonQuery.leftJoin(SubQueryExpression, Path).- Specified by:
leftJoinin interfaceJPQLNextQuery<T>- Type Parameters:
X- Expression type- Parameters:
o- subqueryalias- alias- Returns:
- the current object
-
lateral
Description copied from interface:JPQLNextQueryMark the last join as a lateral join.- Specified by:
lateralin interfaceJPQLNextQuery<T>- Returns:
- this query
-
defaultJoin
Description copied from interface:JPQLNextQueryMark the last join as a default join.- Specified by:
defaultJoinin interfaceJPQLNextQuery<T>- Returns:
- this query
-
rightJoin
public <X> Q rightJoin(com.querydsl.core.types.SubQueryExpression<X> o, com.querydsl.core.types.Path<X> alias) Description copied from interface:JPQLNextQueryAdds a right join to the given target. Analog toSQLCommonQuery.rightJoin(SubQueryExpression, Path).- Specified by:
rightJoinin interfaceJPQLNextQuery<T>- Type Parameters:
X- Expression type- Parameters:
o- subqueryalias- alias- Returns:
- the current object
-
fullJoin
public <X> Q fullJoin(com.querydsl.core.types.SubQueryExpression<X> o, com.querydsl.core.types.Path<X> alias) Description copied from interface:JPQLNextQueryAdds a full join to the given target. Analog toSQLCommonQuery.fullJoin(SubQueryExpression, Path).- Specified by:
fullJoinin interfaceJPQLNextQuery<T>- Type Parameters:
X- Expression type- Parameters:
o- subqueryalias- alias- Returns:
- the current object
-
innerJoin
public <X> Q innerJoin(com.querydsl.core.types.SubQueryExpression<X> o, com.querydsl.core.types.Path<X> alias) Description copied from interface:JPQLNextQueryAdds a inner join to the given target. Analog toSQLCommonQuery.innerJoin(SubQueryExpression, Path).- Specified by:
innerJoinin interfaceJPQLNextQuery<T>- Type Parameters:
X- Expression type- Parameters:
o- subqueryalias- alias- Returns:
- the current object
-
setCacheable
-
serialize
protected com.querydsl.jpa.JPQLSerializer serialize(boolean forCountRow) - Overrides:
serializein classcom.querydsl.jpa.JPAQueryBase<T,Q extends AbstractBlazeJPAQuery<T, Q>>
-
setOperation
public <RT> SetExpression<RT> setOperation(JPQLNextOps operator, boolean wrapSets, List<com.querydsl.core.types.SubQueryExpression<RT>> sq) -
union
Description copied from interface:JPQLNextQueryCreates an union expression for the given subqueries. Analog toProjectableSQLQuery.union(List).- Specified by:
unionin interfaceJPQLNextQuery<T>- Type Parameters:
RT- set operation type- Parameters:
sq- JPQLNextQuery subqueries- Returns:
- the set operation result
-
unionAll
Description copied from interface:JPQLNextQueryCreates an union expression for the given subqueries. Analog toProjectableSQLQuery.unionAll(List).- Specified by:
unionAllin interfaceJPQLNextQuery<T>- Type Parameters:
RT- set operation type- Parameters:
sq- JPQLNextQuery subqueries- Returns:
- the set operation result
-
intersect
Description copied from interface:JPQLNextQueryCreates an intersect expression for the given subqueries.- Specified by:
intersectin interfaceJPQLNextQuery<T>- Type Parameters:
RT- set operation type- Parameters:
sq- JPQLNextQuery subqueries- Returns:
- the set operation result
- See Also:
-
intersectAll
Description copied from interface:JPQLNextQueryCreates an intersect expression for the given subqueries- Specified by:
intersectAllin interfaceJPQLNextQuery<T>- Type Parameters:
RT- set operation type- Parameters:
sq- JPQLNextQuery subqueries- Returns:
- the set operation result
- See Also:
-
except
Description copied from interface:JPQLNextQueryCreates an except expression for the given subqueries- Specified by:
exceptin interfaceJPQLNextQuery<T>- Type Parameters:
RT- set operation type- Parameters:
sq- JPQLNextQuery subqueries- Returns:
- the set operation result
- See Also:
-
exceptAll
Description copied from interface:JPQLNextQueryCreates an except expression for the given subqueries- Specified by:
exceptAllin interfaceJPQLNextQuery<T>- Type Parameters:
RT- set operation type- Parameters:
sq- JPQLNextQuery subqueries- Returns:
- the set operation result
- See Also:
-
union
@SafeVarargs public final <RT> SetExpression<RT> union(com.querydsl.core.types.SubQueryExpression<RT>... sq) Description copied from interface:JPQLNextQueryCreates an union expression for the given subqueries. Analog toProjectableSQLQuery.union(List).- Specified by:
unionin interfaceJPQLNextQuery<T>- Type Parameters:
RT- set operation type- Parameters:
sq- JPQLNextQuery subqueries- Returns:
- the set operation result
-
unionAll
@SafeVarargs public final <RT> SetExpression<RT> unionAll(com.querydsl.core.types.SubQueryExpression<RT>... sq) Description copied from interface:JPQLNextQueryCreates an union expression for the given subqueries. Analog toProjectableSQLQuery.unionAll(List).- Specified by:
unionAllin interfaceJPQLNextQuery<T>- Type Parameters:
RT- set operation type- Parameters:
sq- JPQLNextQuery subqueries- Returns:
- the set operation result
-
intersect
@SafeVarargs public final <RT> SetExpression<RT> intersect(com.querydsl.core.types.SubQueryExpression<RT>... sq) Description copied from interface:JPQLNextQueryCreates an intersect expression for the given subqueries.- Specified by:
intersectin interfaceJPQLNextQuery<T>- Type Parameters:
RT- set operation type- Parameters:
sq- JPQLNextQuery subqueries- Returns:
- the set operation result
-
intersectAll
@SafeVarargs public final <RT> SetExpression<RT> intersectAll(com.querydsl.core.types.SubQueryExpression<RT>... sq) Description copied from interface:JPQLNextQueryCreates an intersect expression for the given subqueries.- Specified by:
intersectAllin interfaceJPQLNextQuery<T>- Type Parameters:
RT- set operation type- Parameters:
sq- JPQLNextQuery subqueries- Returns:
- the set operation result
-
except
@SafeVarargs public final <RT> SetExpression<RT> except(com.querydsl.core.types.SubQueryExpression<RT>... sq) Description copied from interface:JPQLNextQueryCreates an except expression for the given subqueries.- Specified by:
exceptin interfaceJPQLNextQuery<T>- Type Parameters:
RT- set operation type- Parameters:
sq- JPQLNextQuery subqueries- Returns:
- the set operation result
-
exceptAll
@SafeVarargs public final <RT> SetExpression<RT> exceptAll(com.querydsl.core.types.SubQueryExpression<RT>... sq) Description copied from interface:JPQLNextQueryCreates an except expression for the given subqueries.- Specified by:
exceptAllin interfaceJPQLNextQuery<T>- Type Parameters:
RT- set operation type- Parameters:
sq- JPQLNextQuery subqueries- Returns:
- the set operation result
-
bind
public <U> Q bind(com.querydsl.core.types.Path<? super U> path, com.querydsl.core.types.Expression<? extends U> expression) Bind a CTE attribute to a select expression.- Type Parameters:
U- Attribute type- Parameters:
path- Attribute pathexpression- Expression to bind the path to- Returns:
- this query
-
window
Description copied from interface:JPQLNextQueryAdd a named window to this query.- Specified by:
windowin interfaceJPQLNextQuery<T>- Parameters:
namedWindow- The window definition to add- Returns:
- this query
-