Interface JpaQueryGroup<T>
- All Superinterfaces:
JpaCriteriaNode, JpaQueryPart<T>, Serializable
- All Known Implementing Classes:
SqmQueryGroup
A query group i.e. query parts connected with a set operator.
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends JpaQueryPart<T>> Return the query parts of this query group.setFetch(JpaExpression<? extends Number> fetch) Set the query fetch limit.setFetch(JpaExpression<? extends Number> fetch, FetchClauseType fetchClauseType) Set the query fetch limit.setOffset(JpaExpression<? extends Number> offset) Set the query offset.setSortSpecifications(List<? extends JpaOrder> sortSpecifications) Set the ordering specifications.Methods inherited from interface JpaQueryPart
getFetch, getFetchClauseType, getOffset, getSortSpecifications
-
Method Details
-
getQueryParts
Return the query parts of this query group. -
setSortSpecifications
@Nonnull JpaQueryGroup<T> setSortSpecifications(@Nonnull List<? extends JpaOrder> sortSpecifications) Set the ordering specifications.- Specified by:
setSortSpecificationsin interfaceJpaQueryPart<T>
-
setOffset
Set the query offset.- Specified by:
setOffsetin interfaceJpaQueryPart<T>
-
setFetch
Set the query fetch limit.- Specified by:
setFetchin interfaceJpaQueryPart<T>
-
setFetch
@Nonnull JpaQueryGroup<T> setFetch(@Nullable JpaExpression<? extends Number> fetch, @Nonnull FetchClauseType fetchClauseType) Set the query fetch limit.- Specified by:
setFetchin interfaceJpaQueryPart<T>
-