public static class HDRPercentilesAggregator.Factory extends ValuesSourceAggregatorFactory.LeafOnly<ValuesSource.Numeric>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>
config
Constructor and Description |
---|
HDRPercentilesAggregator.Factory(String name,
ValuesSourceConfig<ValuesSource.Numeric> valuesSourceConfig,
double[] percents,
int numberOfSignificantValueDigits,
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) |
subFactories
createInternal, doValidate
asMultiBucketAggregator, create, name, parent, setMetaData, validate
public HDRPercentilesAggregator.Factory(String name, ValuesSourceConfig<ValuesSource.Numeric> valuesSourceConfig, double[] percents, int numberOfSignificantValueDigits, 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.