|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CompassQuery.SortPropertyType>
org.compass.core.CompassQuery.SortPropertyType
public static enum CompassQuery.SortPropertyType
Used to define the type of the property that will be sorted. Note that
INT has the lowest memorty requirements and
STRING the most.
| Enum Constant Summary | |
|---|---|
AUTO
Guess type of sort based on proeprty contents. |
|
BYTE
Sort using term values as encoded bytes. |
|
DOUBLE
Sort using term values as encoded Doubles. |
|
FLOAT
Sort using term values as encoded Floats. |
|
INT
Sort using term values as encoded Integers. |
|
LONG
Sort using term values as encoded Longs. |
|
STRING
Sort using term values as Strings. |
|
| Method Summary | |
|---|---|
static CompassQuery.SortPropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CompassQuery.SortPropertyType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CompassQuery.SortPropertyType AUTO
public static final CompassQuery.SortPropertyType STRING
public static final CompassQuery.SortPropertyType BYTE
public static final CompassQuery.SortPropertyType INT
public static final CompassQuery.SortPropertyType LONG
public static final CompassQuery.SortPropertyType FLOAT
public static final CompassQuery.SortPropertyType DOUBLE
| Method Detail |
|---|
public static final CompassQuery.SortPropertyType[] values()
for(CompassQuery.SortPropertyType c : CompassQuery.SortPropertyType.values())
System.out.println(c);
public static CompassQuery.SortPropertyType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||