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, isDistinct
Methods inherited from interface jakarta.persistence.criteria.CommonAbstractCriteria
getParameters, subquery
Methods inherited from interface org.hibernate.query.criteria.JpaCriteriaBase
subquery
Methods inherited from interface org.hibernate.query.criteria.JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinct
Methods 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, notEqualTo
Methods inherited from interface org.hibernate.query.criteria.JpaSelectCriteria
from, from, from, from, from, getGroupRestriction, getQueryPart, getQuerySpec, getRestriction
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItems
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnum
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
Methods inherited from interface jakarta.persistence.criteria.Subquery
getContainingQuery, getCorrelatedJoins, getParent, having, where
Methods 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:
distinct
in interfaceAbstractQuery<T>
- Specified by:
distinct
in interfaceJpaSelectCriteria<T>
- Specified by:
distinct
in interfaceSubquery<T>
-
getSelection
JpaExpression<T> getSelection()- Specified by:
getSelection
in interfaceAbstractQuery<T>
- Specified by:
getSelection
in interfaceJpaSelectCriteria<T>
- Specified by:
getSelection
in interfaceSubquery<T>
-
select
-
where
- Specified by:
where
in interfaceAbstractQuery<T>
- Specified by:
where
in interfaceJpaSelectCriteria<T>
- Specified by:
where
in interfaceSubquery<T>
-
where
- Specified by:
where
in interfaceAbstractQuery<T>
- Specified by:
where
in interfaceJpaSelectCriteria<T>
- Specified by:
where
in interfaceSubquery<T>
-
groupBy
- Specified by:
groupBy
in interfaceAbstractQuery<T>
- Specified by:
groupBy
in interfaceJpaSelectCriteria<T>
- Specified by:
groupBy
in interfaceSubquery<T>
-
groupBy
- Specified by:
groupBy
in interfaceAbstractQuery<T>
- Specified by:
groupBy
in interfaceJpaSelectCriteria<T>
- Specified by:
groupBy
in interfaceSubquery<T>
-
having
- Specified by:
having
in interfaceAbstractQuery<T>
- Specified by:
having
in interfaceJpaSelectCriteria<T>
- Specified by:
having
in interfaceSubquery<T>
-
having
- Specified by:
having
in interfaceAbstractQuery<T>
- Specified by:
having
in interfaceJpaSelectCriteria<T>
- Specified by:
having
in interfaceSubquery<T>
-
correlate
-
correlate
-
correlate
-
correlate
-
correlate
-
correlate
-