Package | Description |
---|---|
javax.persistence.criteria |
Java Persistence Criteria API
|
Modifier and Type | Method | Description |
---|---|---|
Subquery<T> |
Subquery.distinct(boolean distinct) |
Specify whether duplicate query results will be eliminated.
|
Subquery<T> |
Subquery.groupBy(java.util.List<Expression<?>> grouping) |
Specify the expressions that are used to form groups over
the subquery results.
|
Subquery<T> |
Subquery.groupBy(Expression<?>... grouping) |
Specify the expressions that are used to form groups over
the subquery results.
|
Subquery<T> |
Subquery.having(Expression<java.lang.Boolean> restriction) |
Specify a restriction over the groups of the subquery.
|
Subquery<T> |
Subquery.having(Predicate... restrictions) |
Specify restrictions over the groups of the subquery
according the conjunction of the specified restriction
predicates.
|
Subquery<T> |
Subquery.select(Expression<T> expression) |
Specify the item that is to be returned as the subquery
result.
|
<U> Subquery<U> |
CommonAbstractCriteria.subquery(java.lang.Class<U> type) |
Create a subquery of the query.
|
Subquery<T> |
Subquery.where(Expression<java.lang.Boolean> restriction) |
Modify the subquery to restrict the result according
to the specified boolean expression.
|
Subquery<T> |
Subquery.where(Predicate... restrictions) |
Modify the subquery to restrict the result according
to the conjunction of the specified restriction predicates.
|
Modifier and Type | Method | Description |
---|---|---|
<Y> Expression<Y> |
CriteriaBuilder.all(Subquery<Y> subquery) |
Create an all expression over the subquery results.
|
<Y> Expression<Y> |
CriteriaBuilder.any(Subquery<Y> subquery) |
Create an any expression over the subquery results.
|
Predicate |
CriteriaBuilder.exists(Subquery<?> subquery) |
Create a predicate testing the existence of a subquery result.
|
<Y> Expression<Y> |
CriteriaBuilder.some(Subquery<Y> subquery) |
Create a some expression over the subquery results.
|
Copyright © 2018. All rights reserved.