The ordering of results.
Modifiers | Name | Description |
---|---|---|
static enum |
Query.Order.Direction |
Represents the direction of the ordering |
Constructor and description |
---|
Query.Order
(java.lang.String property) |
Query.Order
(java.lang.String property, Query.Order.Direction direction) |
Type Params | Return Type | Name and description |
---|---|---|
|
static Order |
asc(java.lang.String property) Creates a new order for the given property in ascending order |
|
static Order |
desc(java.lang.String property) Creates a new order for the given property in descending order |
|
Query.Order.Direction |
getDirection() @return The direction order by |
|
java.lang.String |
getProperty() @return The property name to order by |
|
Order |
ignoreCase() Whether to ignore the case for this order definition |
|
boolean |
isIgnoreCase() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates a new order for the given property in ascending order
property
- The propertyCreates a new order for the given property in descending order
property
- The property
Whether to ignore the case for this order definition