public class ChildrenAggregatorFactory extends ValuesSourceAggregatorFactory<ValuesSource.Bytes.ParentChild,ChildrenAggregatorFactory>
AggregatorFactory.MultiBucketAggregatorWrapperconfig| Constructor and Description |
|---|
ChildrenAggregatorFactory(java.lang.String name,
ValuesSourceConfig<ValuesSource.Bytes.ParentChild> config,
java.lang.String parentType,
org.apache.lucene.search.Query childFilter,
org.apache.lucene.search.Query parentFilter,
SearchContext context,
AggregatorFactory<?> parent,
AggregatorFactories.Builder subFactoriesBuilder,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
protected Aggregator |
createUnmapped(Aggregator parent,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
protected Aggregator |
doCreateInternal(ValuesSource.Bytes.ParentChild valuesSource,
Aggregator parent,
boolean collectsFromSingleBucket,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
createInternal, timeZoneasMultiBucketAggregator, create, doValidate, getParent, name, validatepublic ChildrenAggregatorFactory(java.lang.String name,
ValuesSourceConfig<ValuesSource.Bytes.ParentChild> config,
java.lang.String parentType,
org.apache.lucene.search.Query childFilter,
org.apache.lucene.search.Query parentFilter,
SearchContext context,
AggregatorFactory<?> parent,
AggregatorFactories.Builder subFactoriesBuilder,
java.util.Map<java.lang.String,java.lang.Object> metaData)
throws java.io.IOException
java.io.IOExceptionprotected Aggregator createUnmapped(Aggregator parent, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
createUnmapped in class ValuesSourceAggregatorFactory<ValuesSource.Bytes.ParentChild,ChildrenAggregatorFactory>java.io.IOExceptionprotected Aggregator doCreateInternal(ValuesSource.Bytes.ParentChild valuesSource, Aggregator parent, boolean collectsFromSingleBucket, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
doCreateInternal in class ValuesSourceAggregatorFactory<ValuesSource.Bytes.ParentChild,ChildrenAggregatorFactory>java.io.IOException