public class OrderImpl extends Object implements Order, Serializable
Constructor and Description |
---|
OrderImpl(Expression<?> expression) |
OrderImpl(Expression<?> expression,
boolean ascending) |
Modifier and Type | Method and Description |
---|---|
Expression<?> |
getExpression()
Return the expression that is used for ordering.
|
boolean |
isAscending()
Whether ascending ordering is in effect.
|
Order |
reverse()
Switch the ordering.
|
public OrderImpl(Expression<?> expression)
public OrderImpl(Expression<?> expression, boolean ascending)
public boolean isAscending()
Order
isAscending
in interface Order
public Expression<?> getExpression()
Order
getExpression
in interface Order
Copyright © 2017 JBoss by Red Hat. All rights reserved.