public enum BucketOrder extends Enum<BucketOrder> implements NamedEnum
Enum Constant and Description |
---|
ASCENDING
Ascending order constant.
|
DESCENDING
Descending order constant.
|
NONE
No sorting.
|
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_MESSAGE_KEY_CANNOT_TRANSLATE_NONE |
static String |
EXCEPTION_MESSAGE_KEY_UNKNOWN_ORDER_ENUM |
Modifier and Type | Method and Description |
---|---|
static BucketOrder |
fromSortOrderEnum(SortOrderEnum orderValue) |
String |
getName() |
static SortOrderEnum |
toSortOrderEnum(BucketOrder order) |
static BucketOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BucketOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BucketOrder ASCENDING
public static final BucketOrder DESCENDING
public static final BucketOrder NONE
public static final String EXCEPTION_MESSAGE_KEY_CANNOT_TRANSLATE_NONE
public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_ORDER_ENUM
public static BucketOrder[] values()
for (BucketOrder c : BucketOrder.values()) System.out.println(c);
public static BucketOrder valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SortOrderEnum toSortOrderEnum(BucketOrder order)
public static BucketOrder fromSortOrderEnum(SortOrderEnum orderValue)
Copyright © 2023 Cloud Software Group, Inc.. All rights reserved.