public static enum Aggregation.AggregationType extends java.lang.Enum<Aggregation.AggregationType>
| Enum Constant and Description |
|---|
Avg |
Cardinality |
Children |
Count |
DateHistogram |
ExtStatistics |
Filter |
Max |
Min |
Nested |
ReverseNested |
Statistics |
Sum |
Term |
| Modifier and Type | Field and Description |
|---|---|
boolean |
hasBuckets |
boolean |
isMultiValue |
| Modifier and Type | Method and Description |
|---|---|
static Aggregation.AggregationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Aggregation.AggregationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Aggregation.AggregationType Max
public static final Aggregation.AggregationType Min
public static final Aggregation.AggregationType Sum
public static final Aggregation.AggregationType Avg
public static final Aggregation.AggregationType Count
public static final Aggregation.AggregationType ExtStatistics
public static final Aggregation.AggregationType Statistics
public static final Aggregation.AggregationType Term
public static final Aggregation.AggregationType DateHistogram
public static final Aggregation.AggregationType Filter
public static final Aggregation.AggregationType Children
public static final Aggregation.AggregationType Nested
public static final Aggregation.AggregationType ReverseNested
public static final Aggregation.AggregationType Cardinality
public final boolean hasBuckets
public final boolean isMultiValue
public static Aggregation.AggregationType[] values()
for (Aggregation.AggregationType c : Aggregation.AggregationType.values()) System.out.println(c);
public static Aggregation.AggregationType 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