public static class Query.Order
The ordering of results.
Modifiers | Name | Description |
---|---|---|
static enum |
Query.Order.Direction |
Represents the direction of the ordering |
Modifiers | Name | Description |
---|---|---|
private Direction |
direction |
|
private boolean |
ignoreCase |
|
private java.lang.String |
property |
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 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