public static class ParentToChildrenAggregator.Factory extends ValuesSourceAggregatorFactory<ValuesSource.Bytes.ParentChild>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>
config
factories, name, parent, type
Constructor and Description |
---|
Factory(String name,
ValuesSourceConfig<ValuesSource.Bytes.ParentChild> config,
String parentType,
org.apache.lucene.search.Filter parentFilter,
org.apache.lucene.search.Filter childFilter) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
create(ValuesSource.Bytes.ParentChild valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
create, doValidate
parent, subFactories, validate
public Factory(String name, ValuesSourceConfig<ValuesSource.Bytes.ParentChild> config, String parentType, org.apache.lucene.search.Filter parentFilter, org.apache.lucene.search.Filter childFilter)
protected Aggregator createUnmapped(AggregationContext aggregationContext, Aggregator parent)
createUnmapped
in class ValuesSourceAggregatorFactory<ValuesSource.Bytes.ParentChild>
protected Aggregator create(ValuesSource.Bytes.ParentChild valuesSource, long expectedBucketsCount, AggregationContext aggregationContext, Aggregator parent)
create
in class ValuesSourceAggregatorFactory<ValuesSource.Bytes.ParentChild>
Copyright © 2009–2015. All rights reserved.