Class MovAvgPipelineAggregator
java.lang.Object
org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
org.elasticsearch.search.aggregations.pipeline.MovAvgPipelineAggregator
- All Implemented Interfaces:
NamedWriteable
,Writeable
public class MovAvgPipelineAggregator extends PipelineAggregator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
PipelineAggregator.Parser, PipelineAggregator.PipelineTree
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
Constructors Constructor Description MovAvgPipelineAggregator(StreamInput in)
Read from a stream. -
Method Summary
Modifier and Type Method Description void
doWriteTo(StreamOutput out)
java.lang.String
getWriteableName()
Returns the name of the writeable objectInternalAggregation
reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
Methods inherited from class org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
bucketsPaths, metaData, name, writeTo
-
Constructor Details
-
MovAvgPipelineAggregator
Read from a stream.- Throws:
java.io.IOException
-
-
Method Details
-
doWriteTo
- Specified by:
doWriteTo
in classPipelineAggregator
- Throws:
java.io.IOException
-
getWriteableName
public java.lang.String getWriteableName()Description copied from interface:NamedWriteable
Returns the name of the writeable object -
reduce
public InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)- Specified by:
reduce
in classPipelineAggregator
-