public static class Query.Order
The ordering of results.
Modifiers | Name | Description |
---|---|---|
static enum |
Query.Order.Direction |
Represents the direction of the ordering |
Constructor and description |
---|
Order
(java.lang.String property) |
Order
(java.lang.String property, Query.Order.Direction direction) |
Type Params | Return Type | Name and description |
---|---|---|
|
public static Order |
asc(java.lang.String property) Creates a new order for the given property in ascending order |
|
public static Order |
desc(java.lang.String property) Creates a new order for the given property in descending order |
|
public Query.Order.Direction |
getDirection()
|
|
public java.lang.String |
getProperty()
|
|
public Order |
ignoreCase() Whether to ignore the case for this order definition |
|
public boolean |
isIgnoreCase() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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