public class GlobalAggregatorFactory extends AggregatorFactory<GlobalAggregatorFactory>
AggregatorFactory.MultiBucketAggregatorWrapper
Constructor and Description |
---|
GlobalAggregatorFactory(java.lang.String name,
SearchContext context,
AggregatorFactory<?> parent,
AggregatorFactories.Builder subFactories,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
createInternal(Aggregator parent,
boolean collectsFromSingleBucket,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
asMultiBucketAggregator, create, doValidate, getParent, name, validate
public GlobalAggregatorFactory(java.lang.String name, SearchContext context, AggregatorFactory<?> parent, AggregatorFactories.Builder subFactories, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
java.io.IOException
public Aggregator createInternal(Aggregator parent, boolean collectsFromSingleBucket, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
createInternal
in class AggregatorFactory<GlobalAggregatorFactory>
java.io.IOException