Class PersistentPropertyOrder<T>
- java.lang.Object
-
- io.micronaut.data.model.jpa.criteria.impl.PersistentPropertyOrder<T>
-
- Type Parameters:
T- The property type
- All Implemented Interfaces:
jakarta.persistence.criteria.Order
@Internal public final class PersistentPropertyOrder<T> extends java.lang.Object implements jakarta.persistence.criteria.OrderThe implementation ofOrder.- Since:
- 3.2
- Author:
- Denis Stepanov
-
-
Constructor Summary
Constructors Constructor Description PersistentPropertyOrder(PersistentPropertyPath<T> persistentPropertyPath, boolean ascending)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.persistence.criteria.Expression<?>getExpression()booleanisAscending()jakarta.persistence.criteria.Orderreverse()
-
-
-
Constructor Detail
-
PersistentPropertyOrder
public PersistentPropertyOrder(PersistentPropertyPath<T> persistentPropertyPath, boolean ascending)
-
-
Method Detail
-
reverse
public jakarta.persistence.criteria.Order reverse()
- Specified by:
reversein interfacejakarta.persistence.criteria.Order
-
isAscending
public boolean isAscending()
- Specified by:
isAscendingin interfacejakarta.persistence.criteria.Order
-
getExpression
public jakarta.persistence.criteria.Expression<?> getExpression()
- Specified by:
getExpressionin interfacejakarta.persistence.criteria.Order
-
-