Package org.hibernate.query.criteria
Interface JpaQueryStructure<T>
- All Superinterfaces:
JpaCriteriaNode
,JpaQueryPart<T>
,Serializable
- All Known Implementing Classes:
SqmQuerySpec
- See Also:
- API Note:
- Internally (HQL and SQM) Hibernate supports ordering and limiting for both root- and sub- criteria even though JPA only defines support for them on a root.
-
Method Summary
Modifier and TypeMethodDescriptionList
<? extends JpaExpression<?>> getRoots()
boolean
setDistinct
(boolean distinct) setFetch
(JpaExpression<? extends Number> fetch) setFetch
(JpaExpression<? extends Number> fetch, FetchClauseType fetchClauseType) setGroupingExpressions
(Expression<?>... grouping) setGroupingExpressions
(List<? extends Expression<?>> grouping) setGroupRestriction
(Expression<Boolean> restriction) setGroupRestriction
(Predicate... restrictions) setGroupRestriction
(List<Predicate> restrictions) setGroupRestriction
(JpaPredicate restrictions) setOffset
(JpaExpression<? extends Number> offset) setRestriction
(Expression<Boolean> restriction) setRestriction
(Predicate... restrictions) setRestriction
(List<Predicate> restrictions) setRestriction
(JpaPredicate restriction) setSelection
(JpaSelection<T> selection) setSortSpecifications
(List<? extends JpaOrder> sortSpecifications) Methods inherited from interface org.hibernate.query.criteria.JpaQueryPart
getFetch, getFetchClauseType, getOffset, getSortSpecifications
-
Method Details
-
isDistinct
boolean isDistinct() -
setDistinct
-
getSelection
JpaSelection<T> getSelection() -
setSelection
-
getRoots
-
getRootList
-
addRoot
-
getRestriction
JpaPredicate getRestriction() -
setRestriction
-
setRestriction
-
setRestriction
-
setRestriction
-
getGroupingExpressions
List<? extends JpaExpression<?>> getGroupingExpressions() -
setGroupingExpressions
-
setGroupingExpressions
-
getGroupRestriction
JpaPredicate getGroupRestriction() -
setGroupRestriction
-
setGroupRestriction
-
setGroupRestriction
-
setGroupRestriction
-
setSortSpecifications
- Specified by:
setSortSpecifications
in interfaceJpaQueryPart<T>
-
setOffset
- Specified by:
setOffset
in interfaceJpaQueryPart<T>
-
setFetch
- Specified by:
setFetch
in interfaceJpaQueryPart<T>
-
setFetch
JpaQueryStructure<T> setFetch(JpaExpression<? extends Number> fetch, FetchClauseType fetchClauseType) - Specified by:
setFetch
in interfaceJpaQueryPart<T>
-