public static enum IndexFieldDesc.Order extends java.lang.Enum<IndexFieldDesc.Order>
| Enum Constant and Description |
|---|
Asc
Field is sorted in ascending order.
|
Desc
Field is sorted in descending order.
|
None
Field is not sorted.
|
| Modifier and Type | Method and Description |
|---|---|
static IndexFieldDesc.Order |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IndexFieldDesc.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexFieldDesc.Order None
public static final IndexFieldDesc.Order Asc
public static final IndexFieldDesc.Order Desc
public static IndexFieldDesc.Order[] values()
for (IndexFieldDesc.Order c : IndexFieldDesc.Order.values()) System.out.println(c);
public static IndexFieldDesc.Order valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null