Package | Description |
---|---|
javax.persistence.criteria |
Jakarta Persistence Criteria API
|
Modifier and Type | Interface and Description |
---|---|
interface |
CriteriaQuery<T>
The
CriteriaQuery interface defines functionality that is specific
to top-level queries. |
interface |
Subquery<T>
The
Subquery interface defines functionality that is
specific to subqueries. |
Modifier and Type | Method and Description |
---|---|
AbstractQuery<T> |
AbstractQuery.distinct(boolean distinct)
Specify whether duplicate query results will be eliminated.
|
AbstractQuery<?> |
Subquery.getParent()
Return the query of which this is a subquery.
|
AbstractQuery<T> |
AbstractQuery.groupBy(Expression<?>... grouping)
Specify the expressions that are used to form groups over
the query results.
|
AbstractQuery<T> |
AbstractQuery.groupBy(List<Expression<?>> grouping)
Specify the expressions that are used to form groups over
the query results.
|
AbstractQuery<T> |
AbstractQuery.having(Expression<Boolean> restriction)
Specify a restriction over the groups of the query.
|
AbstractQuery<T> |
AbstractQuery.having(Predicate... restrictions)
Specify restrictions over the groups of the query
according the conjunction of the specified restriction
predicates.
|
AbstractQuery<T> |
AbstractQuery.where(Expression<Boolean> restriction)
Modify the query to restrict the query results according
to the specified boolean expression.
|
AbstractQuery<T> |
AbstractQuery.where(Predicate... restrictions)
Modify the query to restrict the query results according
to the conjunction of the specified restriction predicates.
|
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.