javax.persistence.criteria.Order Maven / Gradle / Ivy
The newest version!
package javax.persistence.criteria;
/**
* An object that defines an ordering over the query results.
*/
public interface Order {
/**
* Return the expression that is used for ordering.
*
* @return expression used for ordering
*/
Expression> getExpression();
/**
* Whether ascending ordering is in effect.
*
* @return boolean indicating whether ordering is ascending
*/
boolean isAscending();
/**
* Switch the ordering.
*
* @return a new Order instance with the reversed ordering
*/
Order reverse();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy