public static class RangeAggregator.Factory extends ValuesSourceAggregatorFactory<ValuesSource.Numeric>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>
config
Constructor and Description |
---|
RangeAggregator.Factory(String name,
ValuesSourceConfig<ValuesSource.Numeric> valueSourceConfig,
InternalRange.Factory rangeFactory,
List<RangeAggregator.Range> ranges,
boolean keyed) |
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) |
createInternal, doValidate
asMultiBucketAggregator, create, name, parent, setMetaData, subFactories, validate
public RangeAggregator.Factory(String name, ValuesSourceConfig<ValuesSource.Numeric> valueSourceConfig, InternalRange.Factory rangeFactory, List<RangeAggregator.Range> ranges, boolean keyed)
protected Aggregator createUnmapped(AggregationContext aggregationContext, Aggregator parent, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
createUnmapped
in class ValuesSourceAggregatorFactory<ValuesSource.Numeric>
IOException
protected 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>
IOException
Copyright © 2009–2017. All rights reserved.