Uses of Interface
jakarta.persistence.criteria.Subquery
Packages that use Subquery
Package
Description
Defines the Jakarta Persistence Criteria Query API.
-
Uses of Subquery in jakarta.persistence.criteria
Methods in jakarta.persistence.criteria that return SubqueryModifier and TypeMethodDescriptionSubquery.distinct(boolean distinct) Specify whether duplicate query results are eliminated.Subquery.groupBy(Expression<?>... grouping) Specify the expressions that are used to form groups over the subquery results.Subquery.groupBy(List<Expression<?>> grouping) Specify the expressions that are used to form groups over the subquery results.Subquery.having(BooleanExpression... restrictions) Specify restrictions over the groups of the subquery according the conjunction of the specified restriction predicates.Subquery.having(Expression<Boolean> restriction) Specify a restriction over the groups of the subquery.Subquery.having(List<? extends Expression<Boolean>> restrictions) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates.Subquery.select(Expression<T> expression) Specify the item that is to be returned as the subquery result.<U> Subquery<U> CommonAbstractCriteria.subquery(EntityType<U> type) Create a subquery of the query.<U> Subquery<U> Create a subquery of the query.Subquery.where(BooleanExpression... restrictions) Modify the subquery to restrict the result according to the conjunction of the specified restriction predicates.Subquery.where(Expression<Boolean> restriction) Modify the subquery to restrict the result according to the specified boolean expression.Subquery.where(List<? extends Expression<Boolean>> restrictions) Modify the query to restrict the query result according to the conjunction of the specified restriction predicates.Methods in jakarta.persistence.criteria with parameters of type SubqueryModifier and TypeMethodDescription<Y> Expression<Y> Create an all expression over the subquery results.<Y> Expression<Y> Create an any expression over the subquery results.Create a predicate testing the existence of a subquery result.Create a predicate to test whether the expression is returned by the subquery.<Y> Expression<Y> Create a some expression over the subquery results.