Package org.hibernate.query.criteria
Interface JpaOrder
- All Superinterfaces:
JpaCriteriaNode
,Order
,Serializable
- All Known Implementing Classes:
SqmSortSpecification
-
Method Summary
Modifier and TypeMethodDescriptionThe expression to sort byThe precedence for nulls for this order elementThe direction, ascending or descending, in which to sortnullPrecedence
(Nulls precedence) Set the precedence of nulls for this order elementreverse()
Reverse the sorting directionMethods inherited from interface jakarta.persistence.criteria.Order
isAscending
-
Method Details
-
getSortDirection
SortDirection getSortDirection()The direction, ascending or descending, in which to sort -
nullPrecedence
Set the precedence of nulls for this order element -
getNullPrecedence
Nulls getNullPrecedence()The precedence for nulls for this order element- Specified by:
getNullPrecedence
in interfaceOrder
-
reverse
JpaOrder reverse()Reverse the sorting direction -
getExpression
JpaExpression<?> getExpression()The expression to sort by- Specified by:
getExpression
in interfaceOrder
-