Class NumericMetricsAggregator.MultiValue
org.elasticsearch.search.aggregations.BucketCollector
org.elasticsearch.search.aggregations.Aggregator
org.elasticsearch.search.aggregations.AggregatorBase
org.elasticsearch.search.aggregations.metrics.MetricsAggregator
org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregator
org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregator.MultiValue
- All Implemented Interfaces:
,
,
org.apache.lucene.search.Collector
,org.elasticsearch.core.Releasable
- Enclosing class:
- NumericMetricsAggregator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregator
NumericMetricsAggregator.MultiValue, NumericMetricsAggregator.SingleValue
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.Aggregator
Aggregator.BucketComparator, Aggregator.Parser, Aggregator.SubAggCollectionMode
-
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.AggregatorBase
collectableSubAggregators, DEFAULT_WEIGHT, name, parent, subAggregators
Fields inherited from class org.elasticsearch.search.aggregations.BucketCollector
NO_OP_COLLECTOR
-
Constructor Summary
ModifierConstructorDescriptionprotected
name, AggregationContext context, Aggregator parent, <,> metadata)
-
Method Summary
Modifier and TypeMethodDescriptionkey, SortOrder order)
Builds a comparator that compares two buckets aggregated by this Aggregator.abstract boolean
name)
abstract double
name, long owningBucketOrd)
Methods inherited from class org.elasticsearch.search.aggregations.metrics.MetricsAggregator
buildAggregation, buildAggregations
Methods inherited from class org.elasticsearch.search.aggregations.AggregatorBase
addRequestCircuitBreakerBytes, bigArrays, buildEmptySubAggregations, close, doClose, doPostCollection, doPreCollection, getLeafCollector, getLeafCollector, metadata, name, parent, pointReaderIfAvailable, postCollection, preCollection, preGetSubLeafCollectors, scoreMode, searcher, subAggregator, subAggregators, topLevelQuery, toString
Methods inherited from class org.elasticsearch.search.aggregations.Aggregator
buildEmptyAggregation, buildTopLevel, collectDebugInfo, resolveSortPath, resolveSortPathOnValidAgg
Methods inherited from class java.lang.
, , , , , , , , ,
-
Constructor Details
-
MultiValue
- Throws:
-
-
Method Details
-
hasMetric
public abstract boolean hasMetric( name) -
metric
public abstract double metric( name, long owningBucketOrd) -
bucketComparator
public key, SortOrder order)Description copied from class:Aggregator
Builds a comparator that compares two buckets aggregated by this Aggregator.The default implementation throws an exception but we override it on aggregations that support sorting.
- Overrides:
bucketComparator
in classAggregator
-