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