public class ExtendedStatsBucketPipelineAggregator extends BucketMetricsPipelineAggregator
PipelineAggregator.ParserWriteable.Reader<V>, Writeable.Writer<V>format, gapPolicy| Modifier | Constructor and Description |
|---|---|
|
ExtendedStatsBucketPipelineAggregator(StreamInput in)
Read from a stream.
|
protected |
ExtendedStatsBucketPipelineAggregator(java.lang.String name,
java.lang.String[] bucketsPaths,
double sigma,
BucketHelpers.GapPolicy gapPolicy,
DocValueFormat formatter,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
protected InternalAggregation |
buildAggregation(java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metadata)
Called after a collection run is finished to build the aggregation for
the collected state.
|
protected void |
collectBucketValue(java.lang.String bucketKey,
java.lang.Double bucketValue)
Called for each bucket with a value so the state can be modified based on
the key and metric value for this bucket
|
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
protected void |
innerWriteTo(StreamOutput out) |
protected void |
preCollection()
Called before initial collection and between successive collection runs.
|
doReduce, doWriteToreducebucketsPaths, metaData, name, writeToprotected ExtendedStatsBucketPipelineAggregator(java.lang.String name,
java.lang.String[] bucketsPaths,
double sigma,
BucketHelpers.GapPolicy gapPolicy,
DocValueFormat formatter,
java.util.Map<java.lang.String,java.lang.Object> metaData)
public ExtendedStatsBucketPipelineAggregator(StreamInput in) throws java.io.IOException
java.io.IOExceptionprotected void innerWriteTo(StreamOutput out) throws java.io.IOException
innerWriteTo in class BucketMetricsPipelineAggregatorjava.io.IOExceptionpublic java.lang.String getWriteableName()
NamedWriteableprotected void preCollection()
BucketMetricsPipelineAggregatorpreCollection in class BucketMetricsPipelineAggregatorprotected void collectBucketValue(java.lang.String bucketKey,
java.lang.Double bucketValue)
BucketMetricsPipelineAggregatorcollectBucketValue in class BucketMetricsPipelineAggregatorbucketKey - the key for this bucket as a StringbucketValue - the value of the metric specified in bucketsPath
for this bucketprotected InternalAggregation buildAggregation(java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metadata)
BucketMetricsPipelineAggregatorbuildAggregation in class BucketMetricsPipelineAggregatorpipelineAggregators - the pipeline aggregators to add to the resulting aggregationmetadata - the metadata to add to the resulting aggregation