public static class SumAggregator.Factory extends ValuesSourceAggregatorFactory.LeafOnly<ValuesSource.Numeric>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>config| Constructor and Description |
|---|
SumAggregator.Factory(String name,
ValuesSourceConfig<ValuesSource.Numeric> valuesSourceConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected Aggregator |
createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
subFactoriescreateInternal, doValidateasMultiBucketAggregator, create, name, parent, setMetaData, validatepublic SumAggregator.Factory(String name, ValuesSourceConfig<ValuesSource.Numeric> valuesSourceConfig)
protected Aggregator createUnmapped(AggregationContext aggregationContext, Aggregator parent, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
createUnmapped in class ValuesSourceAggregatorFactory<ValuesSource.Numeric>IOExceptionprotected Aggregator doCreateInternal(ValuesSource.Numeric valuesSource, AggregationContext aggregationContext, Aggregator parent, boolean collectsFromSingleBucket, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
doCreateInternal in class ValuesSourceAggregatorFactory<ValuesSource.Numeric>IOExceptionCopyright © 2009–2017. All rights reserved.