public class HDRPercentilesAggregator extends AbstractHDRPercentilesAggregator
NumericMetricsAggregator.MultiValue, NumericMetricsAggregator.SingleValue
Aggregator.Parser, Aggregator.SubAggCollectionMode
format, keyed, keys, numberOfSignificantValueDigits, states, valuesSource
collectableSubAggregators, context, DEFAULT_WEIGHT, name, parent, subAggregators
NO_OP_COLLECTOR
Constructor and Description |
---|
HDRPercentilesAggregator(java.lang.String name,
ValuesSource.Numeric valuesSource,
SearchContext context,
Aggregator parent,
double[] percents,
int numberOfSignificantValueDigits,
boolean keyed,
DocValueFormat formatter,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.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(java.lang.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 HDRPercentilesAggregator(java.lang.String name, ValuesSource.Numeric valuesSource, SearchContext context, Aggregator parent, double[] percents, int numberOfSignificantValueDigits, boolean keyed, DocValueFormat formatter, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
java.io.IOException
public InternalAggregation buildAggregation(long owningBucketOrdinal)
Aggregator
bucket
.buildAggregation
in class Aggregator
public double metric(java.lang.String name, long bucketOrd)
metric
in class NumericMetricsAggregator.MultiValue
public InternalAggregation buildEmptyAggregation()
Aggregator
buildEmptyAggregation
in class Aggregator