org.compass.core
Class CompassQuery.SortDirection

java.lang.Object
  extended by org.compass.core.util.Parameter
      extended by org.compass.core.CompassQuery.SortDirection
All Implemented Interfaces:
Serializable
Enclosing interface:
CompassQuery

public static final class CompassQuery.SortDirection
extends Parameter

Used to set the sort direction for the query.

Author:
kimchy
See Also:
Serialized Form

Field Summary
static CompassQuery.SortDirection AUTO
          The default sort direction, which is descending for relevance type and increasing for all the rest.
static CompassQuery.SortDirection REVERSE
          The reverse order of the AUTO order.
 
Method Summary
 
Methods inherited from class org.compass.core.util.Parameter
readResolve, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTO

public static final CompassQuery.SortDirection AUTO
The default sort direction, which is descending for relevance type and increasing for all the rest.


REVERSE

public static final CompassQuery.SortDirection REVERSE
The reverse order of the AUTO order.



Copyright (c) 2004-2008 The Compass Project.