public enum ColumnOrder extends java.lang.Enum<ColumnOrder> implements JsonEnum
Ordering by value orders by column total.
Enum Constant and Description |
---|
KEYS_ASCENDING |
VALUES_ASCENDING |
VALUES_DESCENDING |
Modifier and Type | Method and Description |
---|---|
static ColumnOrder |
fromId(java.lang.String id) |
java.lang.String |
getId() |
java.lang.String |
toString() |
static ColumnOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColumnOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnOrder KEYS_ASCENDING
public static final ColumnOrder VALUES_ASCENDING
public static final ColumnOrder VALUES_DESCENDING
public static ColumnOrder[] values()
for (ColumnOrder c : ColumnOrder.values()) System.out.println(c);
public static ColumnOrder 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 nullpublic java.lang.String getId()
@Nullable public static ColumnOrder fromId(java.lang.String id)
public java.lang.String toString()
toString
in class java.lang.Enum<ColumnOrder>