public class AggregatorFactories extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AggregatorFactories.Builder |
Modifier and Type | Field and Description |
---|---|
static AggregatorFactories |
EMPTY |
Modifier and Type | Method and Description |
---|---|
static AggregatorFactories.Builder |
builder() |
int |
count() |
Aggregator[] |
createSubAggregators(Aggregator parent,
long estimatedBucketsCount)
Create all aggregators so that they can be consumed with multiple buckets.
|
Aggregator[] |
createTopLevelAggregators(AggregationContext ctx) |
void |
validate() |
public static final AggregatorFactories EMPTY
public static AggregatorFactories.Builder builder()
public Aggregator[] createSubAggregators(Aggregator parent, long estimatedBucketsCount)
public Aggregator[] createTopLevelAggregators(AggregationContext ctx)
public int count()
public void validate()
Copyright © 2009–2015. All rights reserved.