public class HDRPercentileRanksAggregator extends AbstractHDRPercentilesAggregator
Modifier and Type | Class and Description |
---|---|
static class |
HDRPercentileRanksAggregator.Factory |
NumericMetricsAggregator.MultiValue, NumericMetricsAggregator.SingleValue
Aggregator.Parser, Aggregator.SubAggCollectionMode
formatter, keyed, keys, numberOfSignificantValueDigits, states, valuesSource
collectableSubAggregators, context, name, parent, subAggregators
NO_OP_COLLECTOR
Constructor and Description |
---|
HDRPercentileRanksAggregator(String name,
ValuesSource.Numeric valuesSource,
AggregationContext context,
Aggregator parent,
double[] percents,
int numberOfSignificantValueDigits,
boolean keyed,
ValueFormatter formatter,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
InternalAggregation |
buildAggregation(long owningBucketOrdinal)
Build an aggregation for data that has been collected into
bucket . |
InternalAggregation |
buildEmptyAggregation()
Build an empty aggregation.
|
double |
metric(String name,
long bucketOrd) |
doClose, getLeafCollector, getState, hasMetric, needsScores
buildEmptySubAggregations, close, context, doPostCollection, doPreCollection, getDeferringCollector, getLeafCollector, metaData, name, parent, pipelineAggregators, postCollection, preCollection, runDeferredCollections, shouldDefer, subAggregator, subAggregators, toString
descendsFromBucketAggregator
wrap
public HDRPercentileRanksAggregator(String name, ValuesSource.Numeric valuesSource, AggregationContext context, Aggregator parent, double[] percents, int numberOfSignificantValueDigits, boolean keyed, ValueFormatter formatter, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
IOException
public InternalAggregation buildAggregation(long owningBucketOrdinal)
Aggregator
bucket
.buildAggregation
in class Aggregator
public InternalAggregation buildEmptyAggregation()
Aggregator
buildEmptyAggregation
in class Aggregator
public double metric(String name, long bucketOrd)
metric
in class NumericMetricsAggregator.MultiValue
Copyright © 2009–2016. All rights reserved.