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 Object
implements jakarta.persistence.criteria.Order
The implementation of
Order
.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Constructor Summary
ConstructorDescriptionPersistentPropertyOrder
(PersistentPropertyPath<T> persistentPropertyPath, boolean ascending) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.persistence.criteria.Expression<?>
boolean
jakarta.persistence.criteria.Order
reverse()
-
Constructor Details
-
PersistentPropertyOrder
-
-
Method Details
-
reverse
public jakarta.persistence.criteria.Order reverse()- Specified by:
reverse
in interfacejakarta.persistence.criteria.Order
-
isAscending
public boolean isAscending()- Specified by:
isAscending
in interfacejakarta.persistence.criteria.Order
-
getExpression
public jakarta.persistence.criteria.Expression<?> getExpression()- Specified by:
getExpression
in interfacejakarta.persistence.criteria.Order
-