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 byNullPrecedencegetNullPrecedence()The precedence for nulls for this order elementSortDirectiongetSortDirection()The direction, ascending or descending, in which to sortJpaOrdernullPrecedence(NullPrecedence precedence)Set the precedence of nulls for this order elementJpaOrderreverse()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:
getExpressionin interfaceOrder
-
-