Uses of Interface
jakarta.persistence.criteria.Subquery
Packages that use Subquery
Package
Description
Jakarta Persistence Criteria API
The JPA-standard criteria query API defines all the operations needed express
any query written in standard JPQL.
SPI for extending
HibernateCriteriaBuilder
with additional functionality by registering a Service.This package defines a semantic model of HQL queries.
Package for the SQM-backed Query implementation details
Nodes representing path expressions in the SQM tree.
Nodes representing
select statements in the SQM tree.-
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 will be 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(Expression<Boolean> restriction) Specify a restriction over the groups of the subquery.Specify restrictions over the groups of the subquery 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>Create a subquery of the query.Subquery.where(Expression<Boolean> restriction) Modify the subquery to restrict the result according to the specified boolean expression.Modify the subquery to restrict the 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.<Y> Expression<Y>Create a some expression over the subquery results. -
Uses of Subquery in org.hibernate.query.criteria
Subinterfaces of Subquery in org.hibernate.query.criteriaMethods in org.hibernate.query.criteria with parameters of type SubqueryModifier and TypeMethodDescription<Y> JpaExpression<Y><Y> JpaExpression<Y><T> JpaSubQuery<T>default <T> JpaSubQuery<T>default <T> JpaSubQuery<T><X> JpaDerivedRoot<X><X> JpaDerivedRoot<X>Create and add a query root corresponding to the given subquery, forming a cartesian product with any existing roots.<T> JpaSubQuery<T>HibernateCriteriaBuilder.intersect(boolean all, Subquery<? extends T> query1, Subquery<?>... queries) default <T> JpaSubQuery<T>default <T> JpaSubQuery<T>HibernateCriteriaBuilder.intersectAll(Subquery<? extends T> query1, Subquery<?>... queries) <X> JpaDerivedJoin<X><X> JpaDerivedJoin<X>JpaFrom.join(Subquery<X> subquery, SqmJoinType joinType) <X> JpaDerivedJoin<X>JpaFrom.join(Subquery<X> subquery, SqmJoinType joinType, boolean lateral) <X> JpaDerivedJoin<X>JpaFrom.joinLateral(Subquery<X> subquery) <X> JpaDerivedJoin<X>JpaFrom.joinLateral(Subquery<X> subquery, SqmJoinType joinType) <Y> JpaExpression<Y><T> JpaSubQuery<T>default <T> JpaSubQuery<T>default <T> JpaSubQuery<T> -
Uses of Subquery in org.hibernate.query.criteria.spi
Methods in org.hibernate.query.criteria.spi with parameters of type SubqueryModifier and TypeMethodDescription<Y> JpaExpression<Y><Y> JpaExpression<Y><T> JpaSubQuery<T>HibernateCriteriaBuilderDelegate.except(boolean all, Subquery<? extends T> query1, Subquery<?>... queries) <T> JpaSubQuery<T><T> JpaSubQuery<T><T> JpaSubQuery<T>HibernateCriteriaBuilderDelegate.intersect(boolean all, Subquery<? extends T> query1, Subquery<?>... queries) <T> JpaSubQuery<T><T> JpaSubQuery<T>HibernateCriteriaBuilderDelegate.intersectAll(Subquery<? extends T> query1, Subquery<?>... queries) <Y> JpaExpression<Y><T> JpaSubQuery<T>HibernateCriteriaBuilderDelegate.union(boolean all, Subquery<? extends T> query1, Subquery<?>... queries) <T> JpaSubQuery<T><T> JpaSubQuery<T> -
Uses of Subquery in org.hibernate.query.sqm
Methods in org.hibernate.query.sqm with parameters of type SubqueryModifier and TypeMethodDescription -
Uses of Subquery in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal with parameters of type Subquery -
Uses of Subquery in org.hibernate.query.sqm.tree.domain
Methods in org.hibernate.query.sqm.tree.domain with parameters of type SubqueryModifier and TypeMethodDescription<X> JpaDerivedJoin<X><X> JpaDerivedJoin<X>AbstractSqmFrom.join(Subquery<X> subquery, SqmJoinType joinType) <X> JpaDerivedJoin<X>AbstractSqmFrom.join(Subquery<X> subquery, SqmJoinType joinType, boolean lateral) <X> JpaDerivedJoin<X>AbstractSqmFrom.join(Subquery<X> subquery, SqmJoinType joinType, boolean lateral, String alias) <X> JpaDerivedJoin<X>AbstractSqmFrom.joinLateral(Subquery<X> subquery) <X> JpaDerivedJoin<X>AbstractSqmFrom.joinLateral(Subquery<X> subquery, SqmJoinType joinType) -
Uses of Subquery in org.hibernate.query.sqm.tree.select
Classes in org.hibernate.query.sqm.tree.select that implement SubqueryMethods in org.hibernate.query.sqm.tree.select with parameters of type Subquery