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>
- See Also:
JpaCriteriaQuery
,JpaSubQuery
- 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
-
Methods inherited from interface org.hibernate.query.criteria.JpaQueryPart
getFetch, getFetchClauseType, getOffset, getSortSpecifications
-
-
-
-
Method Detail
-
isDistinct
boolean isDistinct()
-
setDistinct
JpaQueryStructure<T> setDistinct(boolean distinct)
-
getSelection
JpaSelection<T> getSelection()
-
setSelection
JpaQueryStructure<T> setSelection(JpaSelection<T> selection)
-
addRoot
JpaQueryStructure<T> addRoot(JpaRoot<?> root)
-
getRestriction
JpaPredicate getRestriction()
-
setRestriction
JpaQueryStructure<T> setRestriction(JpaPredicate restriction)
-
setRestriction
JpaQueryStructure<T> setRestriction(Expression<Boolean> restriction)
-
setRestriction
JpaQueryStructure<T> setRestriction(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(Expression<Boolean> restriction)
-
setGroupRestriction
JpaQueryStructure<T> setGroupRestriction(Predicate... restrictions)
-
setSortSpecifications
JpaQueryStructure<T> setSortSpecifications(List<? extends JpaOrder> sortSpecifications)
- Specified by:
setSortSpecifications
in interfaceJpaQueryPart<T>
-
setOffset
JpaQueryStructure<T> setOffset(JpaExpression<? extends Number> offset)
- Specified by:
setOffset
in interfaceJpaQueryPart<T>
-
setFetch
JpaQueryStructure<T> setFetch(JpaExpression<? extends Number> fetch)
- Specified by:
setFetch
in interfaceJpaQueryPart<T>
-
setFetch
JpaQueryStructure<T> setFetch(JpaExpression<? extends Number> fetch, FetchClauseType fetchClauseType)
- Specified by:
setFetch
in interfaceJpaQueryPart<T>
-
-