Package org.hibernate.query.criteria
Interface JpaSubQuery<T>
-
- All Superinterfaces:
jakarta.persistence.criteria.AbstractQuery<T>
,jakarta.persistence.criteria.CommonAbstractCriteria
,jakarta.persistence.criteria.Expression<T>
,JpaCriteriaBase
,JpaCriteriaNode
,JpaCteContainer
,JpaExpression<T>
,JpaSelectCriteria<T>
,JpaSelection<T>
,JpaTupleElement<T>
,jakarta.persistence.criteria.Selection<T>
,Serializable
,jakarta.persistence.criteria.Subquery<T>
,jakarta.persistence.TupleElement<T>
- All Known Implementing Classes:
SqmSubQuery
public interface JpaSubQuery<T> extends jakarta.persistence.criteria.Subquery<T>, JpaSelectCriteria<T>, JpaExpression<T>, JpaCteContainer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <X,Y>
JpaCollectionJoin<X,Y>correlate(jakarta.persistence.criteria.CollectionJoin<X,Y> parentCollection)
<X,Y>
JpaJoin<X,Y>correlate(jakarta.persistence.criteria.Join<X,Y> parentJoin)
<X,Y>
JpaListJoin<X,Y>correlate(jakarta.persistence.criteria.ListJoin<X,Y> parentList)
<X,K,V>
JpaMapJoin<X,K,V>correlate(jakarta.persistence.criteria.MapJoin<X,K,V> parentMap)
<Y> JpaRoot<Y>
correlate(jakarta.persistence.criteria.Root<Y> parentRoot)
<X,Y>
JpaSetJoin<X,Y>correlate(jakarta.persistence.criteria.SetJoin<X,Y> parentSet)
<X> SqmCrossJoin<X>
correlate(SqmCrossJoin<X> parentCrossJoin)
<X> SqmEntityJoin<X>
correlate(SqmEntityJoin<X> parentEntityJoin)
JpaSubQuery<T>
distinct(boolean distinct)
JpaSubQuery<T>
fetch(Number fetch)
JpaSubQuery<T>
fetch(Number fetch, FetchClauseType fetchClauseType)
JpaSubQuery<T>
fetch(JpaExpression<? extends Number> fetch)
JpaSubQuery<T>
fetch(JpaExpression<? extends Number> fetch, FetchClauseType fetchClauseType)
Set<SqmJoin<?,?>>
getCorrelatedSqmJoins()
JpaExpression<Number>
getFetch()
FetchClauseType
getFetchClauseType()
JpaExpression<Number>
getOffset()
List<JpaOrder>
getOrderList()
JpaExpression<T>
getSelection()
JpaSubQuery<T>
groupBy(jakarta.persistence.criteria.Expression<?>... grouping)
JpaSubQuery<T>
groupBy(List<jakarta.persistence.criteria.Expression<?>> grouping)
JpaSubQuery<T>
having(jakarta.persistence.criteria.Expression<Boolean> restriction)
JpaSubQuery<T>
having(jakarta.persistence.criteria.Predicate... restrictions)
JpaSubQuery<T>
multiselect(jakarta.persistence.criteria.Selection<?>... selections)
JpaSubQuery<T>
multiselect(List<jakarta.persistence.criteria.Selection<?>> selectionList)
JpaSubQuery<T>
offset(Number offset)
JpaSubQuery<T>
offset(JpaExpression<? extends Number> offset)
JpaSubQuery<T>
orderBy(jakarta.persistence.criteria.Order... o)
JpaSubQuery<T>
orderBy(List<jakarta.persistence.criteria.Order> o)
JpaSubQuery<T>
select(jakarta.persistence.criteria.Expression<T> expression)
JpaSubQuery<T>
where(jakarta.persistence.criteria.Expression<Boolean> restriction)
JpaSubQuery<T>
where(jakarta.persistence.criteria.Predicate... restrictions)
-
Methods inherited from interface jakarta.persistence.criteria.AbstractQuery
getGroupList, getResultType, getRoots, isDistinct
-
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, in, in, in, in, isNotNull, isNull
-
Methods inherited from interface org.hibernate.query.criteria.JpaSelectCriteria
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
-
-
-
-
Method Detail
-
multiselect
JpaSubQuery<T> multiselect(jakarta.persistence.criteria.Selection<?>... selections)
-
multiselect
JpaSubQuery<T> multiselect(List<jakarta.persistence.criteria.Selection<?>> selectionList)
-
correlate
<X> SqmCrossJoin<X> correlate(SqmCrossJoin<X> parentCrossJoin)
-
correlate
<X> SqmEntityJoin<X> correlate(SqmEntityJoin<X> parentEntityJoin)
-
getOffset
JpaExpression<Number> getOffset()
-
offset
JpaSubQuery<T> offset(JpaExpression<? extends Number> offset)
-
offset
JpaSubQuery<T> offset(Number offset)
-
getFetch
JpaExpression<Number> getFetch()
-
fetch
JpaSubQuery<T> fetch(JpaExpression<? extends Number> fetch)
-
fetch
JpaSubQuery<T> fetch(JpaExpression<? extends Number> fetch, FetchClauseType fetchClauseType)
-
fetch
JpaSubQuery<T> fetch(Number fetch)
-
fetch
JpaSubQuery<T> fetch(Number fetch, FetchClauseType fetchClauseType)
-
getFetchClauseType
FetchClauseType getFetchClauseType()
-
orderBy
JpaSubQuery<T> orderBy(jakarta.persistence.criteria.Order... o)
-
orderBy
JpaSubQuery<T> orderBy(List<jakarta.persistence.criteria.Order> o)
-
distinct
JpaSubQuery<T> distinct(boolean distinct)
- Specified by:
distinct
in interfacejakarta.persistence.criteria.AbstractQuery<T>
- Specified by:
distinct
in interfaceJpaSelectCriteria<T>
- Specified by:
distinct
in interfacejakarta.persistence.criteria.Subquery<T>
-
getSelection
JpaExpression<T> getSelection()
- Specified by:
getSelection
in interfacejakarta.persistence.criteria.AbstractQuery<T>
- Specified by:
getSelection
in interfaceJpaSelectCriteria<T>
- Specified by:
getSelection
in interfacejakarta.persistence.criteria.Subquery<T>
-
select
JpaSubQuery<T> select(jakarta.persistence.criteria.Expression<T> expression)
- Specified by:
select
in interfacejakarta.persistence.criteria.Subquery<T>
-
where
JpaSubQuery<T> where(jakarta.persistence.criteria.Expression<Boolean> restriction)
- Specified by:
where
in interfacejakarta.persistence.criteria.AbstractQuery<T>
- Specified by:
where
in interfaceJpaSelectCriteria<T>
- Specified by:
where
in interfacejakarta.persistence.criteria.Subquery<T>
-
where
JpaSubQuery<T> where(jakarta.persistence.criteria.Predicate... restrictions)
- Specified by:
where
in interfacejakarta.persistence.criteria.AbstractQuery<T>
- Specified by:
where
in interfaceJpaSelectCriteria<T>
- Specified by:
where
in interfacejakarta.persistence.criteria.Subquery<T>
-
groupBy
JpaSubQuery<T> groupBy(jakarta.persistence.criteria.Expression<?>... grouping)
- Specified by:
groupBy
in interfacejakarta.persistence.criteria.AbstractQuery<T>
- Specified by:
groupBy
in interfaceJpaSelectCriteria<T>
- Specified by:
groupBy
in interfacejakarta.persistence.criteria.Subquery<T>
-
groupBy
JpaSubQuery<T> groupBy(List<jakarta.persistence.criteria.Expression<?>> grouping)
- Specified by:
groupBy
in interfacejakarta.persistence.criteria.AbstractQuery<T>
- Specified by:
groupBy
in interfaceJpaSelectCriteria<T>
- Specified by:
groupBy
in interfacejakarta.persistence.criteria.Subquery<T>
-
having
JpaSubQuery<T> having(jakarta.persistence.criteria.Expression<Boolean> restriction)
- Specified by:
having
in interfacejakarta.persistence.criteria.AbstractQuery<T>
- Specified by:
having
in interfaceJpaSelectCriteria<T>
- Specified by:
having
in interfacejakarta.persistence.criteria.Subquery<T>
-
having
JpaSubQuery<T> having(jakarta.persistence.criteria.Predicate... restrictions)
- Specified by:
having
in interfacejakarta.persistence.criteria.AbstractQuery<T>
- Specified by:
having
in interfaceJpaSelectCriteria<T>
- Specified by:
having
in interfacejakarta.persistence.criteria.Subquery<T>
-
correlate
<Y> JpaRoot<Y> correlate(jakarta.persistence.criteria.Root<Y> parentRoot)
- Specified by:
correlate
in interfacejakarta.persistence.criteria.Subquery<T>
-
correlate
<X,Y> JpaJoin<X,Y> correlate(jakarta.persistence.criteria.Join<X,Y> parentJoin)
- Specified by:
correlate
in interfacejakarta.persistence.criteria.Subquery<T>
-
correlate
<X,Y> JpaCollectionJoin<X,Y> correlate(jakarta.persistence.criteria.CollectionJoin<X,Y> parentCollection)
- Specified by:
correlate
in interfacejakarta.persistence.criteria.Subquery<T>
-
correlate
<X,Y> JpaSetJoin<X,Y> correlate(jakarta.persistence.criteria.SetJoin<X,Y> parentSet)
- Specified by:
correlate
in interfacejakarta.persistence.criteria.Subquery<T>
-
correlate
<X,Y> JpaListJoin<X,Y> correlate(jakarta.persistence.criteria.ListJoin<X,Y> parentList)
- Specified by:
correlate
in interfacejakarta.persistence.criteria.Subquery<T>
-
correlate
<X,K,V> JpaMapJoin<X,K,V> correlate(jakarta.persistence.criteria.MapJoin<X,K,V> parentMap)
- Specified by:
correlate
in interfacejakarta.persistence.criteria.Subquery<T>
-
-