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() |
List<PipelineAggregator> |
createPipelineAggregators() |
Aggregator[] |
createSubAggregators(Aggregator parent)
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 List<PipelineAggregator> createPipelineAggregators() throws IOException
IOException
public Aggregator[] createSubAggregators(Aggregator parent) throws IOException
IOException
public Aggregator[] createTopLevelAggregators(AggregationContext ctx) throws IOException
IOException
public int count()
public void validate()
Copyright © 2009–2016. All rights reserved.