public static class SumAggregator.Factory extends ValuesSourceAggregatorFactory.LeafOnly<ValuesSource.Numeric>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>configfactories, name, parent, type| Constructor and Description |
|---|
Factory(String name,
ValuesSourceConfig<ValuesSource.Numeric> valuesSourceConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected Aggregator |
create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
subFactoriescreate, doValidateparent, validatepublic Factory(String name, ValuesSourceConfig<ValuesSource.Numeric> valuesSourceConfig)
protected Aggregator createUnmapped(AggregationContext aggregationContext, Aggregator parent)
createUnmapped in class ValuesSourceAggregatorFactory<ValuesSource.Numeric>protected Aggregator create(ValuesSource.Numeric valuesSource, long expectedBucketsCount, AggregationContext aggregationContext, Aggregator parent)
create in class ValuesSourceAggregatorFactory<ValuesSource.Numeric>Copyright © 2009–2016. All rights reserved.