public class AvgBucketPipelineAggregator extends BucketMetricsPipelineAggregator
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
Method SummaryModifier and TypeMethodDescription
protected InternalAggregationCalled after a collection run is finished to build the aggregation for the collected state.
protected voidCalled for each bucket with a value so the state can be modified based on the key and metric value for this bucketThe name of the writeable object.
protected voidCalled before initial collection and between successive collection runs.
Methods inherited from class org.elasticsearch.search.aggregations.pipeline.BucketMetricsPipelineAggregator
doReduce, doWriteTo, innerWriteTo
Methods inherited from class org.elasticsearch.search.aggregations.pipeline.SiblingPipelineAggregator
Methods inherited from class org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
bucketsPaths, metadata, name, writeTo
AvgBucketPipelineAggregatorRead from a stream.
getWriteableNamepublic String getWriteableName()Description copied from class:
PipelineAggregatorThe name of the writeable object.
preCollectionprotected void preCollection()Called before initial collection and between successive collection runs. A chance to initialize or re-initialize state
collectBucketValueCalled for each bucket with a value so the state can be modified based on the key and metric value for this bucket
buildAggregationCalled after a collection run is finished to build the aggregation for the collected state.