JpaCriteriaQuery and JpaSubQuery,
mainly in the form of delegation to JpaQueryStructure
| Modifier and Type | Method and Description |
|---|---|
| public JpaSelectCriteria | distinct(boolean
boolean value specifying whether duplicate
results must be eliminated from the query result or
whether they must be retained distinct)Redeclares jakarta. |
| public <X> JpaDerivedRoot | |
| public <X> JpaRoot | Returns: query root corresponding to the given ctethe cte criteria cte)Create and add a query root corresponding to the given cte, forming a cartesian product with any existing roots. |
| public <X> JpaRoot | from(Class<X>
the entity class entityClass)Redeclares jakarta. |
| public <X> JpaRoot | from(EntityType<X>
metamodel entity representing the entity
of type X entity)Redeclares jakarta. |
| public JpaPredicate | getGroupRestriction()
Redeclares jakarta. |
| public JpaQueryPart | |
| public JpaQueryStructure | |
| public JpaPredicate | getRestriction()
Redeclares jakarta. |
| public JpaSelection | getSelection()
Redeclares jakarta. |
| public JpaSelectCriteria | groupBy(Expression<?>...
zero or more grouping expressions grouping)Redeclares jakarta. |
| public JpaSelectCriteria | groupBy(List<Expression<?>>
list of zero or more grouping expressions grouping)Redeclares jakarta. |
| public JpaSelectCriteria | having(Expression<Boolean>
a simple or compound boolean expression restriction)Redeclares jakarta. |
| public JpaSelectCriteria | having(Predicate...
zero or more restriction predicates restrictions)Redeclares jakarta. |
| public JpaSelectCriteria | where(Expression<Boolean>
a simple or compound boolean expression restriction)Redeclares jakarta. |
| public JpaSelectCriteria | where(Predicate...
zero or more restriction predicates restrictions)Redeclares jakarta. |
| distinct | back to summary |
|---|---|
| public JpaSelectCriteria Redeclares jakarta. Doc from jakarta. Specify whether duplicate query results will be eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not been specified, duplicate results must be retained.
| |
| from | back to summary |
|---|---|
| public <X> JpaDerivedRoot Create and add a query root corresponding to the given subquery, forming a cartesian product with any existing roots.
| |
| from | back to summary |
|---|---|
| public <X> JpaRoot Create and add a query root corresponding to the given cte, forming a cartesian product with any existing roots.
| |
| from | back to summary |
|---|---|
| public <X> JpaRoot Redeclares jakarta. Doc from jakarta. Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots. | |
| from | back to summary |
|---|---|
| public <X> JpaRoot Redeclares jakarta. Doc from jakarta. Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots.
| |
| getGroupRestriction | back to summary |
|---|---|
| public JpaPredicate getGroupRestriction() Redeclares jakarta. Doc from jakarta. Return the predicate that corresponds to the restriction(s) over the grouping items, or null if no restrictions have been specified.
| |
| getQueryPart | back to summary |
|---|---|
| public JpaQueryPart The query structure. See | |
| getQuerySpec | back to summary |
|---|---|
| public JpaQueryStructure The query structure. See | |
| getRestriction | back to summary |
|---|---|
| public JpaPredicate getRestriction() Redeclares jakarta. Doc from jakarta. Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified.
| |
| getSelection | back to summary |
|---|---|
| public JpaSelection Redeclares jakarta. Doc from jakarta. Return the selection of the query, or null if no selection has been set.
| |
| groupBy | back to summary |
|---|---|
| public JpaSelectCriteria Redeclares jakarta. Doc from jakarta. Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added grouping expressions are simply removed.
| |
| groupBy | back to summary |
|---|---|
| public JpaSelectCriteria Redeclares jakarta. Doc from jakarta. Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added grouping expressions are simply removed.
| |
| having | back to summary |
|---|---|
| public JpaSelectCriteria Redeclares jakarta. Doc from jakarta. Specify a restriction over the groups of the query. Replaces the previous having restriction(s), if any.
| |
| having | back to summary |
|---|---|
| public JpaSelectCriteria Redeclares jakarta. Doc from jakarta. Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously having added restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed.
| |
| where | back to summary |
|---|---|
| public JpaSelectCriteria Redeclares jakarta. Doc from jakarta. Modify the query to restrict the query results according to the specified boolean expression. Replaces the previously added restriction(s), if any.
| |
| where | back to summary |
|---|---|
| public JpaSelectCriteria Redeclares jakarta. Doc from jakarta. Modify the query to restrict the query results according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed.
| |