public static class ParentToChildrenAggregator.Factory extends ValuesSourceAggregatorFactory<ValuesSource.Bytes.ParentChild>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>configfactories, 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, doValidateparent, subFactories, validatepublic 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–2016. All rights reserved.