public static enum Aggregator.BucketAggregationMode extends Enum<Aggregator.BucketAggregationMode>
Enum Constant and Description |
---|
MULTI_BUCKETS
In this mode, a single aggregator instance will be created per parent aggregator, that will handle the aggregations of all its buckets.
|
PER_BUCKET
In this mode, a new aggregator instance will be created per bucket (created by the parent aggregator)
|
Modifier and Type | Method and Description |
---|---|
static Aggregator.BucketAggregationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Aggregator.BucketAggregationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Aggregator.BucketAggregationMode PER_BUCKET
public static final Aggregator.BucketAggregationMode MULTI_BUCKETS
public static Aggregator.BucketAggregationMode[] values()
for (Aggregator.BucketAggregationMode c : Aggregator.BucketAggregationMode.values()) System.out.println(c);
public static Aggregator.BucketAggregationMode 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 © 2009–2015. All rights reserved.