Package org.hibernate.query.criteria
Interface JpaOrder
- All Superinterfaces:
JpaCriteriaNode,Order,Serializable
- All Known Implementing Classes:
SqmSortSpecification
- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionThe expression to sort byThe precedence for nulls for this order elementThe direction, ascending or descending, in which to sortnullPrecedence(NullPrecedence 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
NullPrecedence getNullPrecedence()The precedence for nulls for this order element -
reverse
JpaOrder reverse()Reverse the sorting direction -
getExpression
JpaExpression<?> getExpression()The expression to sort by- Specified by:
getExpressionin interfaceOrder- Returns:
- expression used for ordering
-