Interface JPQLNextQueryFactory
- All Superinterfaces:
com.querydsl.jpa.JPQLQueryFactory
,com.querydsl.core.QueryFactory<com.querydsl.jpa.JPQLQuery<?>>
- All Known Implementing Classes:
BlazeJPAQueryFactory
public interface JPQLNextQueryFactory
extends com.querydsl.jpa.JPQLQueryFactory
Query factory to simplify
BlazeJPAQuery
instantiation.- Since:
- 1.6.2
- Author:
- Jan-Willem Gmelig Meyling
-
Method Summary
Modifier and TypeMethodDescription<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 subqueries<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 subqueriesfrom
(com.querydsl.core.types.EntityPath<?> from) from
(com.querydsl.core.types.EntityPath<?>... from) <X> JPQLNextQuery<?>
from
(com.querydsl.core.types.SubQueryExpression<X> subQueryExpression, com.querydsl.core.types.Path<X> alias) Create a new Query with the given source<X> JPQLNextQuery<?>
fromIdentifiableValues
(com.querydsl.core.types.EntityPath<X> path, Collection<X> elements) Select from a set of values using theVALUES
clause.<X> JPQLNextQuery<?>
fromIdentifiableValues
(com.querydsl.core.types.Path<X> path, com.querydsl.core.types.Path<X> alias, Collection<X> elements) Select from a set of values using theVALUES
clause.<X> JPQLNextQuery<?>
fromValues
(com.querydsl.core.types.EntityPath<X> path, Collection<X> elements) Select from a set of values using theVALUES
clause.<X> JPQLNextQuery<?>
fromValues
(com.querydsl.core.types.Path<X> path, com.querydsl.core.types.Path<X> alias, Collection<X> elements) Select from a set of values using theVALUES
clause.<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.<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 subqueriesquery()
JPQLNextQuery<com.querydsl.core.Tuple>
select
(com.querydsl.core.types.Expression<?>... exprs) <T> JPQLNextQuery<T>
select
(com.querydsl.core.types.Expression<T> expr) JPQLNextQuery<com.querydsl.core.Tuple>
selectDistinct
(com.querydsl.core.types.Expression<?>... exprs) <T> JPQLNextQuery<T>
selectDistinct
(com.querydsl.core.types.Expression<T> expr) <T> JPQLNextQuery<T>
selectFrom
(com.querydsl.core.types.EntityPath<T> from) <X> JPQLNextQuery<X>
selectFrom
(com.querydsl.core.types.SubQueryExpression<X> subQueryExpression, com.querydsl.core.types.Path<X> alias) Create a new Query with the given source<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.<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.WithBuilder<? extends JPQLNextQuery<?>>
with
(com.querydsl.core.types.EntityPath<?> alias, com.querydsl.core.types.Path<?>... columns) Register a common table expression (CTE).<X> JPQLNextQuery<?>
with
(com.querydsl.core.types.Path<X> alias, com.querydsl.core.types.SubQueryExpression<?> o) Register a common table expression (CTE).WithBuilder<? extends JPQLNextQuery<?>>
withRecursive
(com.querydsl.core.types.EntityPath<?> alias, com.querydsl.core.types.Path<?>... columns) Register a recursive common table expression (CTE).<X> JPQLNextQuery<?>
withRecursive
(com.querydsl.core.types.Path<X> alias, com.querydsl.core.types.SubQueryExpression<?> o) Register a recursive common table expression (CTE).Methods inherited from interface com.querydsl.jpa.JPQLQueryFactory
delete, insert, update
-
Method Details
-
select
- Specified by:
select
in interfacecom.querydsl.jpa.JPQLQueryFactory
-
select
- Specified by:
select
in interfacecom.querydsl.jpa.JPQLQueryFactory
-
selectDistinct
- Specified by:
selectDistinct
in interfacecom.querydsl.jpa.JPQLQueryFactory
-
selectDistinct
JPQLNextQuery<com.querydsl.core.Tuple> selectDistinct(com.querydsl.core.types.Expression<?>... exprs) - Specified by:
selectDistinct
in interfacecom.querydsl.jpa.JPQLQueryFactory
-
selectOne
JPQLNextQuery<Integer> selectOne()- Specified by:
selectOne
in interfacecom.querydsl.jpa.JPQLQueryFactory
-
selectZero
JPQLNextQuery<Integer> selectZero()- Specified by:
selectZero
in interfacecom.querydsl.jpa.JPQLQueryFactory
-
selectFrom
- Specified by:
selectFrom
in interfacecom.querydsl.jpa.JPQLQueryFactory
-
from
- Specified by:
from
in interfacecom.querydsl.jpa.JPQLQueryFactory
-
from
- Specified by:
from
in interfacecom.querydsl.jpa.JPQLQueryFactory
-
from
<X> JPQLNextQuery<?> from(com.querydsl.core.types.SubQueryExpression<X> subQueryExpression, com.querydsl.core.types.Path<X> alias) Create a new Query with the given source- Parameters:
subQueryExpression
- The subquery expressionalias
- Alias for the subquery in the outer query- Returns:
- from(from)
-
selectFrom
<X> JPQLNextQuery<X> selectFrom(com.querydsl.core.types.SubQueryExpression<X> subQueryExpression, com.querydsl.core.types.Path<X> alias) Create a new Query with the given source- Parameters:
subQueryExpression
- The subquery expressionalias
- Alias for the subquery in the outer query- Returns:
- from(from)
-
fromValues
Select from a set of values using theVALUES
clause.- Type Parameters:
X
- The element type- Parameters:
path
- Type of valueselements
- The elements- Returns:
- this query
-
fromIdentifiableValues
<X> JPQLNextQuery<?> fromIdentifiableValues(com.querydsl.core.types.EntityPath<X> path, Collection<X> elements) Select from a set of values using theVALUES
clause.- Type Parameters:
X
- The element type- Parameters:
path
- Type of valueselements
- The elements- Returns:
- this query
-
fromValues
<X> JPQLNextQuery<?> fromValues(com.querydsl.core.types.Path<X> path, com.querydsl.core.types.Path<X> alias, Collection<X> elements) Select from a set of values using theVALUES
clause.- 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
<X> JPQLNextQuery<?> fromIdentifiableValues(com.querydsl.core.types.Path<X> path, com.querydsl.core.types.Path<X> alias, Collection<X> elements) Select from a set of values using theVALUES
clause.- 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
<X> JPQLNextQuery<?> with(com.querydsl.core.types.Path<X> alias, com.querydsl.core.types.SubQueryExpression<?> o) Register a common table expression (CTE).- Type Parameters:
X
- CTE type- Parameters:
alias
- The alias for the CTEo
- The subquery expression- Returns:
- this query
-
withRecursive
<X> JPQLNextQuery<?> withRecursive(com.querydsl.core.types.Path<X> alias, com.querydsl.core.types.SubQueryExpression<?> o) Register a recursive common table expression (CTE).- Type Parameters:
X
- CTE type- Parameters:
alias
- The alias for the CTEo
- The subquery expression- Returns:
- this query
-
with
WithBuilder<? extends JPQLNextQuery<?>> with(com.querydsl.core.types.EntityPath<?> alias, com.querydsl.core.types.Path<?>... columns) Register a common table expression (CTE). Returns a builder through which the CTE can be provided asSubQueryExpression
.- Parameters:
alias
- The alias for the CTEcolumns
- The columns for the CTE- Returns:
- this query
- API Note:
- This version does not allow for set operands to use different column bindings.
For that purpose, use
with(Path, SubQueryExpression)
instead, and wrap each select expression inside aJPQLNextOps.BIND
operation.
-
withRecursive
WithBuilder<? extends JPQLNextQuery<?>> withRecursive(com.querydsl.core.types.EntityPath<?> alias, com.querydsl.core.types.Path<?>... columns) Register a recursive common table expression (CTE). Returns a builder through which the CTE can be provided asSubQueryExpression
.- Parameters:
alias
- The alias for the CTEcolumns
- The columns for the CTE- Returns:
- this query
- API Note:
- This version does not allow for set operands to use different column bindings.
For that purpose, use
with(Path, SubQueryExpression)
instead, and wrap each select expression inside aJPQLNextOps.BIND
operation.
-
query
JPQLNextQuery<?> query()- Specified by:
query
in interfacecom.querydsl.core.QueryFactory<com.querydsl.jpa.JPQLQuery<?>>
-
union
Creates an union expression for the given subqueries.- Type Parameters:
RT
- set operation type- Parameters:
sq
- subqueries- Returns:
- the set operation result
-
unionAll
Creates an union expression for the given subqueries.- Type Parameters:
RT
- set operation type- Parameters:
sq
- subqueries- Returns:
- the set operation result
-
intersect
Creates an intersect expression for the given subqueries.- Type Parameters:
RT
- set operation type- Parameters:
sq
- subqueries- Returns:
- the set operation result
- See Also:
-
intersectAll
Creates an intersect expression for the given subqueries- Type Parameters:
RT
- set operation type- Parameters:
sq
- subqueries- Returns:
- the set operation result
- See Also:
-
except
Creates an except expression for the given subqueries- Type Parameters:
RT
- set operation type- Parameters:
sq
- subqueries- Returns:
- the set operation result
- See Also:
-
exceptAll
Creates an except expression for the given subqueries- Type Parameters:
RT
- set operation type- Parameters:
sq
- subqueries- Returns:
- the set operation result
- See Also:
-
union
Creates an union expression for the given subqueries.- Type Parameters:
RT
- set operation type- Parameters:
sq
- subqueries- Returns:
- the set operation result
-
unionAll
Creates an union expression for the given subqueries.- Type Parameters:
RT
- set operation type- Parameters:
sq
- subqueries- Returns:
- the set operation result
-
intersect
Creates an intersect expression for the given subqueries.- Type Parameters:
RT
- set operation type- Parameters:
sq
- subqueries- Returns:
- the set operation result
-
intersectAll
Creates an intersect expression for the given subqueries.- Type Parameters:
RT
- set operation type- Parameters:
sq
- subqueries- Returns:
- the set operation result
-
except
Creates an except expression for the given subqueries.- Type Parameters:
RT
- set operation type- Parameters:
sq
- subqueries- Returns:
- the set operation result
-
exceptAll
Creates an except expression for the given subqueries.- Type Parameters:
RT
- set operation type- Parameters:
sq
- subqueries- Returns:
- the set operation result
-