Package org.hibernate.query.criteria
Interface JpaSubQuery<T>
- All Superinterfaces:
AbstractQuery<T>,CommonAbstractCriteria,CriteriaSelect<T>,Expression<T>,JpaCriteriaBase,JpaCriteriaNode,JpaCriteriaSelect<T>,JpaCteContainer,JpaExpression<T>,JpaSelectCriteria<T>,JpaSelection<T>,JpaTupleElement<T>,Selection<T>,Serializable,Subquery<T>,TupleElement<T>
- All Known Implementing Classes:
SqmSubQuery
public interface JpaSubQuery<T>
extends Subquery<T>, JpaSelectCriteria<T>, JpaCriteriaSelect<T>, JpaExpression<T>, JpaCteContainer
-
Method Summary
Modifier and TypeMethodDescription<X,Y> JpaCollectionJoin <X, Y> correlate(CollectionJoin<X, Y> parentCollection) <X,Y> JpaJoin <X, Y> <X,Y> JpaListJoin <X, Y> <X,K, V> JpaMapJoin <X, K, V> <Y> JpaRoot<Y> <X,Y> JpaSetJoin <X, Y> <X> JpaCrossJoin<X> correlate(JpaCrossJoin<X> parentCrossJoin) <X> JpaEntityJoin<T, X> correlate(JpaEntityJoin<T, X> parentEntityJoin) distinct(boolean distinct) fetch(Number fetch, FetchClauseType fetchClauseType) fetch(JpaExpression<? extends Number> fetch) fetch(JpaExpression<? extends Number> fetch, FetchClauseType fetchClauseType) getFetch()groupBy(Expression<?>... grouping) groupBy(List<Expression<?>> grouping) having(Expression<Boolean> restriction) multiselect(Selection<?>... selections) multiselect(List<Selection<?>> selectionList) offset(JpaExpression<? extends Number> offset) select(Expression<T> expression) where(Expression<Boolean> restriction) Methods inherited from interface jakarta.persistence.criteria.AbstractQuery
getGroupList, getResultType, getRoots, isDistinctMethods inherited from interface jakarta.persistence.criteria.CommonAbstractCriteria
getParameters, subqueryMethods inherited from interface org.hibernate.query.criteria.JpaCriteriaBase
subqueryMethods inherited from interface org.hibernate.query.criteria.JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinctMethods inherited from interface org.hibernate.query.criteria.JpaExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualToMethods inherited from interface org.hibernate.query.criteria.JpaSelectCriteria
from, from, from, from, from, getGroupRestriction, getQueryPart, getQuerySpec, getRestrictionMethods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnumMethods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelectionMethods inherited from interface jakarta.persistence.criteria.Subquery
getContainingQuery, getCorrelatedJoins, getParent, having, whereMethods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Method Details
-
multiselect
-
multiselect
-
correlate
-
correlate
-
getOffset
JpaExpression<Number> getOffset() -
offset
-
offset
-
getFetch
JpaExpression<Number> getFetch() -
fetch
-
fetch
-
fetch
-
fetch
-
getFetchClauseType
FetchClauseType getFetchClauseType() -
getOrderList
-
orderBy
-
orderBy
-
distinct
- Specified by:
distinctin interfaceAbstractQuery<T>- Specified by:
distinctin interfaceJpaSelectCriteria<T>- Specified by:
distinctin interfaceSubquery<T>
-
getSelection
JpaExpression<T> getSelection()- Specified by:
getSelectionin interfaceAbstractQuery<T>- Specified by:
getSelectionin interfaceJpaSelectCriteria<T>- Specified by:
getSelectionin interfaceSubquery<T>
-
select
-
where
- Specified by:
wherein interfaceAbstractQuery<T>- Specified by:
wherein interfaceJpaSelectCriteria<T>- Specified by:
wherein interfaceSubquery<T>
-
where
- Specified by:
wherein interfaceAbstractQuery<T>- Specified by:
wherein interfaceJpaSelectCriteria<T>- Specified by:
wherein interfaceSubquery<T>
-
groupBy
- Specified by:
groupByin interfaceAbstractQuery<T>- Specified by:
groupByin interfaceJpaSelectCriteria<T>- Specified by:
groupByin interfaceSubquery<T>
-
groupBy
- Specified by:
groupByin interfaceAbstractQuery<T>- Specified by:
groupByin interfaceJpaSelectCriteria<T>- Specified by:
groupByin interfaceSubquery<T>
-
having
- Specified by:
havingin interfaceAbstractQuery<T>- Specified by:
havingin interfaceJpaSelectCriteria<T>- Specified by:
havingin interfaceSubquery<T>
-
having
- Specified by:
havingin interfaceAbstractQuery<T>- Specified by:
havingin interfaceJpaSelectCriteria<T>- Specified by:
havingin interfaceSubquery<T>
-
correlate
-
correlate
-
correlate
-
correlate
-
correlate
-
correlate
-