public class PercentilesAggregator extends AbstractPercentilesAggregator
Modifier and Type | Class and Description |
---|---|
static class |
PercentilesAggregator.Factory |
NumericMetricsAggregator.MultiValue, NumericMetricsAggregator.SingleValue
Aggregator.BucketAggregationMode, Aggregator.Parser, Aggregator.SubAggCollectionMode
BucketCollector.BucketAnalysisCollector
compression, formatter, keyed, keys, states, valuesSource
bigArrays, bucketAggregationMode, COLLECT_MODE, collectableSubAggregators, context, depth, estimatedBucketCount, factories, name, parent, subAggregators
NO_OP_COLLECTOR
Constructor and Description |
---|
PercentilesAggregator(String name,
long estimatedBucketsCount,
ValuesSource.Numeric valuesSource,
AggregationContext context,
Aggregator parent,
double[] percents,
double compression,
boolean keyed,
ValueFormatter formatter) |
Modifier and Type | Method and Description |
---|---|
InternalAggregation |
buildAggregation(long owningBucketOrdinal) |
InternalAggregation |
buildEmptyAggregation() |
double |
metric(String name,
long bucketOrd) |
collect, doClose, getState, hasMetric, setNextReader, shouldCollect
bucketAggregationMode, buildEmptySubAggregations, close, context, depth, doPostCollection, estimatedBucketCount, gatherAnalysis, hasParentBucketAggregator, name, parent, postCollection, preCollection, runDeferredCollections, shouldDefer, subAggregator, subAggregators
wrap
public PercentilesAggregator(String name, long estimatedBucketsCount, ValuesSource.Numeric valuesSource, AggregationContext context, Aggregator parent, double[] percents, double compression, boolean keyed, @Nullable ValueFormatter formatter)
public InternalAggregation buildAggregation(long owningBucketOrdinal)
buildAggregation
in class Aggregator
public double metric(String name, long bucketOrd)
metric
in class NumericMetricsAggregator.MultiValue
public InternalAggregation buildEmptyAggregation()
buildEmptyAggregation
in class Aggregator
Copyright © 2009–2015. All rights reserved.