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,Q>,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,Q>, 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:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected Binds<T>bindsprotected booleancachableprotected CriteriaBuilderFactorycriteriaBuilderFactorystatic com.querydsl.core.JoinFlagLATERALLateral join flag. -
Constructor Summary
Constructors Constructor Description AbstractBlazeJPAQuery(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 Type Method Description <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 voidclone(Q query)javax.persistence.QuerycreateQuery()protected javax.persistence.QuerycreateQuery(com.querydsl.core.QueryModifiers modifiers, boolean forCount)protected JPQLNextSerializercreateSerializer()<RT> SetExpression<RT>except(com.querydsl.core.types.SubQueryExpression<RT>... sq)Creates an except expression for the given subqueries.<RT> SetExpression<RT>except(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)Creates an except expression for the given subqueries<RT> SetExpression<RT>exceptAll(com.querydsl.core.types.SubQueryExpression<RT>... sq)Creates an except expression for the given subqueries.<RT> SetExpression<RT>exceptAll(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)Creates an except expression for the given subquerieslongfetchCount()TfetchOne()PagedList<T>fetchPage(int firstResult, int maxResults)Execute the query and return the result as a type PagedList.PagedList<T>fetchPage(KeysetPage keysetPage, int firstResult, int maxResults)Execute the query and return the result as a type PagedList.com.querydsl.core.QueryResults<T>fetchResults()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)protected Queryable<T,?>getQueryable(com.querydsl.core.QueryModifiers modifiers)StringgetQueryString()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.<RT> SetExpression<RT>intersect(com.querydsl.core.types.SubQueryExpression<RT>... sq)Creates an intersect expression for the given subqueries.<RT> SetExpression<RT>intersect(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)Creates an intersect expression for the given subqueries.<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 subqueriesQlateral()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)QsetCacheable(boolean cacheable)<RT> SetExpression<RT>setOperation(JPQLNextOps operator, boolean wrapSets, List<com.querydsl.core.types.SubQueryExpression<RT>> sq)<RT> SetExpression<RT>union(com.querydsl.core.types.SubQueryExpression<RT>... sq)Creates an union expression for the given subqueries.<RT> SetExpression<RT>union(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)Creates an union expression for the given subqueries.<RT> SetExpression<RT>unionAll(com.querydsl.core.types.SubQueryExpression<RT>... sq)Creates an union expression for the given subqueries.<RT> SetExpression<RT>unionAll(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)Creates an union expression for the given subqueries.Qwindow(NamedWindow namedWindow)Add a named window to this query.WithBuilder<Q>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).WithBuilder<Q>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
cleanupMDC, clone, clone, clone, fetch, iterate, logQuery, reset, setFlushMode, setHint, setLockModeMethods 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.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.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, set, where
-
Field Details
-
LATERAL
public static final com.querydsl.core.JoinFlag LATERALLateral join flag. Can be added usingQueryMetadata.addJoinFlag(JoinFlag). Used internally for implementinglateral(). -
criteriaBuilderFactory
-
cachable
protected boolean cachable -
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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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) -
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:
FullQueryBuilder.page(int, int)
-
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:
FullQueryBuilder.page(KeysetPage, int, int)
-
getQueryString
Description copied from interface:ExtendedFetchableGet the query string.- Specified by:
getQueryStringin interfaceExtendedFetchable<T>- Returns:
- the query string
- See Also:
Queryable.getQueryString()
-
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- Specified by:
fetchResultsin interfacecom.querydsl.core.Fetchable<T>- Overrides:
fetchResultsin classcom.querydsl.jpa.impl.AbstractJPAQuery<T,Q extends AbstractBlazeJPAQuery<T,Q>>- Returns:
- results
- See Also:
fetchPage(int, int),fetchPage(KeysetPage, int, int)
-
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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- Type Parameters:
RT- set operation type- Parameters:
sq- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- Type Parameters:
RT- set operation type- Parameters:
sq- subqueries- Returns:
- the set operation result
-
intersect
Description copied from interface:JPQLNextQueryCreates an intersect expression for the given subqueries.- Specified by:
intersectin interfaceJPQLNextQuery<T,Q extends AbstractBlazeJPAQuery<T,Q>>- Type Parameters:
RT- set operation type- Parameters:
sq- subqueries- Returns:
- the set operation result
- See Also:
JPQLNextQuery.union(List)
-
intersectAll
public <RT> SetExpression<RT> intersectAll(List<com.querydsl.core.types.SubQueryExpression<RT>> sq)Description copied from interface:JPQLNextQueryCreates an intersect expression for the given subqueries- Specified by:
intersectAllin interfaceJPQLNextQuery<T,Q extends AbstractBlazeJPAQuery<T,Q>>- Type Parameters:
RT- set operation type- Parameters:
sq- subqueries- Returns:
- the set operation result
- See Also:
JPQLNextQuery.union(List)
-
except
Description copied from interface:JPQLNextQueryCreates an except expression for the given subqueries- Specified by:
exceptin interfaceJPQLNextQuery<T,Q extends AbstractBlazeJPAQuery<T,Q>>- Type Parameters:
RT- set operation type- Parameters:
sq- subqueries- Returns:
- the set operation result
- See Also:
JPQLNextQuery.union(List)
-
exceptAll
Description copied from interface:JPQLNextQueryCreates an except expression for the given subqueries- Specified by:
exceptAllin interfaceJPQLNextQuery<T,Q extends AbstractBlazeJPAQuery<T,Q>>- Type Parameters:
RT- set operation type- Parameters:
sq- subqueries- Returns:
- the set operation result
- See Also:
JPQLNextQuery.union(List)
-
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,Q extends AbstractBlazeJPAQuery<T,Q>>- Type Parameters:
RT- set operation type- Parameters:
sq- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- Type Parameters:
RT- set operation type- Parameters:
sq- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- Type Parameters:
RT- set operation type- Parameters:
sq- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- Type Parameters:
RT- set operation type- Parameters:
sq- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- Type Parameters:
RT- set operation type- Parameters:
sq- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- Type Parameters:
RT- set operation type- Parameters:
sq- 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,Q extends AbstractBlazeJPAQuery<T,Q>>- Parameters:
namedWindow- The window definition to add- Returns:
- this query
-