public static class SumAggregator.Factory extends ValuesSourceAggregatorFactory.LeafOnly<ValuesSource.Numeric>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>
config
factories, 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) |
subFactories
create, doValidate
parent, validate
public 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–2015. All rights reserved.