public static enum HistogramAggregationQuery.Order extends Enum<HistogramAggregationQuery.Order>
| Enum Constant and Description |
|---|
COUNT_ASC |
COUNT_DESC |
KEY_ASC |
KEY_DESC |
| Modifier and Type | Method and Description |
|---|---|
static HistogramAggregationQuery.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HistogramAggregationQuery.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HistogramAggregationQuery.Order KEY_ASC
public static final HistogramAggregationQuery.Order KEY_DESC
public static final HistogramAggregationQuery.Order COUNT_ASC
public static final HistogramAggregationQuery.Order COUNT_DESC
public static HistogramAggregationQuery.Order[] values()
for (HistogramAggregationQuery.Order c : HistogramAggregationQuery.Order.values()) System.out.println(c);
public static HistogramAggregationQuery.Order 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 null