org.springframework.datastore.query
Class Query.Order

java.lang.Object
  extended by org.springframework.datastore.query.Query.Order
Enclosing class:
Query

public static class Query.Order
extends Object

The ordering of results


Nested Class Summary
static class Query.Order.Direction
           
 
Constructor Summary
Query.Order(String property)
           
Query.Order(String property, Query.Order.Direction direction)
           
 
Method Summary
static Query.Order asc(String property)
           
static Query.Order desc(String property)
           
 Query.Order.Direction getDirection()
           
 String getProperty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query.Order

public Query.Order(String property)

Query.Order

public Query.Order(String property,
                   Query.Order.Direction direction)
Method Detail

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)