org.springframework.datastore.query
Class Query.Order
java.lang.Object
org.springframework.datastore.query.Query.Order
- Enclosing class:
- Query
public static class Query.Order
- extends Object
The ordering of results
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Query.Order
public Query.Order(String property)
Query.Order
public Query.Order(String property,
Query.Order.Direction direction)
getDirection
public Query.Order.Direction getDirection()
getProperty
public String getProperty()
desc
public static Query.Order desc(String property)
asc
public static Query.Order asc(String property)