Package org.hibernate.query.criteria
Interface JpaOrder
-
- All Superinterfaces:
JpaCriteriaNode
,Order
,Serializable
- All Known Implementing Classes:
SqmSortSpecification
public interface JpaOrder extends Order, JpaCriteriaNode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JpaExpression<?>
getExpression()
The expression to sort byNullPrecedence
getNullPrecedence()
The precedence for nulls for this order elementSortDirection
getSortDirection()
The direction, ascending or descending, in which to sortJpaOrder
nullPrecedence(NullPrecedence precedence)
Set the precedence of nulls for this order elementJpaOrder
reverse()
Reverse the sorting direction-
Methods inherited from interface jakarta.persistence.criteria.Order
isAscending
-
-
-
-
Method Detail
-
getSortDirection
SortDirection getSortDirection()
The direction, ascending or descending, in which to sort
-
nullPrecedence
JpaOrder nullPrecedence(NullPrecedence precedence)
Set the precedence of nulls for this order element
-
getNullPrecedence
NullPrecedence getNullPrecedence()
The precedence for nulls for this order element
-
getExpression
JpaExpression<?> getExpression()
The expression to sort by- Specified by:
getExpression
in interfaceOrder
-
-