public class NestedAggregatorFactory extends AggregatorFactory<NestedAggregatorFactory>
AggregatorFactory.MultiBucketAggregatorWrapper
Constructor and Description |
---|
NestedAggregatorFactory(java.lang.String name,
ObjectMapper parentObjectMapper,
ObjectMapper childObjectMapper,
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 NestedAggregatorFactory(java.lang.String name, ObjectMapper parentObjectMapper, ObjectMapper childObjectMapper, 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<NestedAggregatorFactory>
java.io.IOException