public class OrderImpl extends Object implements javax.persistence.criteria.Order
| Constructor and Description |
|---|
OrderImpl(javax.persistence.criteria.Expression<?> expr,
boolean asc)
Constructor for an Order.
|
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.criteria.Expression<?> |
getExpression() |
org.datanucleus.query.expression.OrderExpression |
getQueryExpression()
Method to return the underlying DataNucleus query expression that this equates to.
|
boolean |
isAscending() |
javax.persistence.criteria.Order |
nullsFirst() |
javax.persistence.criteria.Order |
nullsLast() |
javax.persistence.criteria.Order |
reverse() |
String |
toString()
Method to return the JPQL single-string that this equates to.
|
public OrderImpl(javax.persistence.criteria.Expression<?> expr,
boolean asc)
expr - The expressionasc - Whether it is ascendingpublic javax.persistence.criteria.Expression<?> getExpression()
getExpression in interface javax.persistence.criteria.Orderpublic boolean isAscending()
isAscending in interface javax.persistence.criteria.Orderpublic javax.persistence.criteria.Order reverse()
reverse in interface javax.persistence.criteria.Orderpublic javax.persistence.criteria.Order nullsFirst()
nullsFirst in interface javax.persistence.criteria.Orderpublic javax.persistence.criteria.Order nullsLast()
nullsLast in interface javax.persistence.criteria.Orderpublic org.datanucleus.query.expression.OrderExpression getQueryExpression()
Copyright © 2020. All rights reserved.