Interface JpaQueryPart<T>
- All Superinterfaces:
JpaCriteriaNode, Serializable
- All Known Subinterfaces:
JpaQueryGroup<T>, JpaQueryStructure<T>
- All Known Implementing Classes:
SqmQueryGroup, SqmQueryPart, SqmQuerySpec
Models a query part i.e. the commonalities between a query group and a query specification.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionJpaExpression<? extends Number> getFetch()Return the query fetch expression.Return the fetch clause type.JpaExpression<? extends Number> Return the query offset expression.Return the ordering specifications.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.
-
Method Details
-
getSortSpecifications
-
setSortSpecifications
-
getOffset
Return the query offset expression. -
setOffset
Set the query offset. -
getFetch
Return the query fetch expression. -
setFetch
Set the query fetch limit. -
setFetch
@Nonnull JpaQueryPart<T> setFetch(@Nullable JpaExpression<? extends Number> fetch, @Nonnull FetchClauseType fetchClauseType) Set the query fetch limit. -
getFetchClauseType
Return the fetch clause type.
-