public class HDRPercentileRanksAggregator 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 |
---|
HDRPercentileRanksAggregator(java.lang.String name,
ValuesSource.Numeric valuesSource,
SearchContext context,
Aggregator parent,
double[] percents,
int numberOfSignificantValueDigits,
boolean keyed,
DocValueFormat format,
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 HDRPercentileRanksAggregator(java.lang.String name, ValuesSource.Numeric valuesSource, SearchContext context, Aggregator parent, double[] percents, int numberOfSignificantValueDigits, boolean keyed, DocValueFormat format, 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 InternalAggregation buildEmptyAggregation()
Aggregator
buildEmptyAggregation
in class Aggregator
public double metric(java.lang.String name, long bucketOrd)
metric
in class NumericMetricsAggregator.MultiValue