Package org.hibernate.query.criteria
Interface JpaQueryStructure<T>
-
- All Superinterfaces:
JpaCriteriaNode
,JpaQueryPart<T>
,Serializable
- All Known Implementing Classes:
SqmQuerySpec
public interface JpaQueryStructure<T> extends JpaQueryPart<T>
Models aSELECT
query. Used as a delegate in implementingCriteriaQuery
andSubquery
.- See Also:
JpaCriteriaQuery
,JpaSubQuery
-
-
Method Summary
-
Methods inherited from interface org.hibernate.query.criteria.JpaQueryPart
getFetch, getFetchClauseType, getOffset, getSortSpecifications
-
-
-
-
Method Detail
-
isDistinct
boolean isDistinct()
-
setDistinct
JpaQueryStructure setDistinct(boolean distinct)
-
getSelection
JpaSelection<T> getSelection()
-
setSelection
JpaQueryStructure setSelection(JpaSelection<T> selection)
-
addRoot
JpaQueryStructure addRoot(JpaRoot<?> root)
-
getRestriction
JpaPredicate getRestriction()
-
setRestriction
JpaQueryStructure<T> setRestriction(JpaPredicate restriction)
-
setRestriction
JpaQueryStructure<T> setRestriction(jakarta.persistence.criteria.Expression<Boolean> restriction)
-
setRestriction
JpaQueryStructure<T> setRestriction(jakarta.persistence.criteria.Predicate... restrictions)
-
getGroupingExpressions
List<? extends JpaExpression> getGroupingExpressions()
-
setGroupingExpressions
JpaQueryStructure<T> setGroupingExpressions(List<? extends JpaExpression<?>> grouping)
-
setGroupingExpressions
JpaQueryStructure<T> setGroupingExpressions(JpaExpression<?>... grouping)
-
getGroupRestriction
JpaPredicate getGroupRestriction()
-
setGroupRestriction
JpaQueryStructure<T> setGroupRestriction(JpaPredicate restrictions)
-
setGroupRestriction
JpaQueryStructure<T> setGroupRestriction(jakarta.persistence.criteria.Expression<Boolean> restriction)
-
setGroupRestriction
JpaQueryStructure<T> setGroupRestriction(jakarta.persistence.criteria.Predicate... restrictions)
-
setSortSpecifications
JpaQueryStructure<T> setSortSpecifications(List<? extends JpaOrder> sortSpecifications)
- Specified by:
setSortSpecifications
in interfaceJpaQueryPart<T>
-
setOffset
JpaQueryStructure<T> setOffset(JpaExpression<?> offset)
- Specified by:
setOffset
in interfaceJpaQueryPart<T>
-
setFetch
JpaQueryStructure<T> setFetch(JpaExpression<?> fetch)
- Specified by:
setFetch
in interfaceJpaQueryPart<T>
-
setFetch
JpaQueryStructure<T> setFetch(JpaExpression<?> fetch, FetchClauseType fetchClauseType)
- Specified by:
setFetch
in interfaceJpaQueryPart<T>
-
-