Package org.hibernate.query.criteria
Interface JpaSubQuery<T>
-
- All Superinterfaces:
AbstractQuery<T>
,CommonAbstractCriteria
,Expression<T>
,JpaCriteriaBase
,JpaCriteriaNode
,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>, JpaExpression<T>, JpaCteContainer
-
-
Method Summary
-
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
-
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
-
Methods inherited from interface jakarta.persistence.criteria.Subquery
getContainingQuery, getCorrelatedJoins, getParent
-
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
-
-
-
Method Detail
-
multiselect
JpaSubQuery<T> multiselect(Selection<?>... selections)
-
multiselect
JpaSubQuery<T> multiselect(List<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(Order... o)
-
orderBy
JpaSubQuery<T> orderBy(List<Order> o)
-
distinct
JpaSubQuery<T> distinct(boolean 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
JpaSubQuery<T> select(Expression<T> expression)
-
where
JpaSubQuery<T> where(Expression<Boolean> restriction)
- Specified by:
where
in interfaceAbstractQuery<T>
- Specified by:
where
in interfaceJpaSelectCriteria<T>
- Specified by:
where
in interfaceSubquery<T>
-
where
JpaSubQuery<T> where(Predicate... restrictions)
- Specified by:
where
in interfaceAbstractQuery<T>
- Specified by:
where
in interfaceJpaSelectCriteria<T>
- Specified by:
where
in interfaceSubquery<T>
-
groupBy
JpaSubQuery<T> groupBy(Expression<?>... grouping)
- Specified by:
groupBy
in interfaceAbstractQuery<T>
- Specified by:
groupBy
in interfaceJpaSelectCriteria<T>
- Specified by:
groupBy
in interfaceSubquery<T>
-
groupBy
JpaSubQuery<T> groupBy(List<Expression<?>> grouping)
- Specified by:
groupBy
in interfaceAbstractQuery<T>
- Specified by:
groupBy
in interfaceJpaSelectCriteria<T>
- Specified by:
groupBy
in interfaceSubquery<T>
-
having
JpaSubQuery<T> having(Expression<Boolean> restriction)
- Specified by:
having
in interfaceAbstractQuery<T>
- Specified by:
having
in interfaceJpaSelectCriteria<T>
- Specified by:
having
in interfaceSubquery<T>
-
having
JpaSubQuery<T> having(Predicate... restrictions)
- Specified by:
having
in interfaceAbstractQuery<T>
- Specified by:
having
in interfaceJpaSelectCriteria<T>
- Specified by:
having
in interfaceSubquery<T>
-
correlate
<X,Y> JpaCollectionJoin<X,Y> correlate(CollectionJoin<X,Y> parentCollection)
-
correlate
<X,Y> JpaSetJoin<X,Y> correlate(SetJoin<X,Y> parentSet)
-
correlate
<X,Y> JpaListJoin<X,Y> correlate(ListJoin<X,Y> parentList)
-
correlate
<X,K,V> JpaMapJoin<X,K,V> correlate(MapJoin<X,K,V> parentMap)
-
-