public enum AggregationType extends Enum<AggregationType>
| Enum Constant and Description |
|---|
Avg |
Children |
Count |
DateHistogram |
Filter |
Max |
Min |
Statistics |
Sum |
Term |
| Modifier and Type | Field and Description |
|---|---|
boolean |
hasBuckets |
boolean |
isMultiValue |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
valueFrom(Map<String,Object> valueMap,
Iterable<Bucket> buckets) |
static AggregationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AggregationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregationType Max
public static final AggregationType Min
public static final AggregationType Sum
public static final AggregationType Avg
public static final AggregationType Count
public static final AggregationType Term
public static final AggregationType Statistics
public static final AggregationType DateHistogram
public static final AggregationType Filter
public static final AggregationType Children
public final boolean hasBuckets
public final boolean isMultiValue
public static AggregationType[] values()
for (AggregationType c : AggregationType.values()) System.out.println(c);
public static AggregationType 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 nullCopyright © 2012–2015 Polyglotted IO. All rights reserved.