Module org.elasticsearch.server
Class MovFnPipelineAggregator
java.lang.Object
org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
org.elasticsearch.search.aggregations.pipeline.MovFnPipelineAggregator
This pipeline aggregation gives the user the ability to script functions that "move" across a window
 of data, instead of single data points.  It is the scripted version of MovingAvg pipeline agg.
 Through custom script contexts, we expose a number of convenience methods:
  - max
  - min
  - sum
  - unweightedAvg
  - linearWeightedAvg
  - ewma
  - holt
  - holtWintersMovAvg
  The user can also define any arbitrary logic via their own scripting, or combine with the above methods.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.search.aggregations.pipeline.PipelineAggregatorPipelineAggregator.Parser, PipelineAggregator.PipelineTree
- 
Method SummaryModifier and TypeMethodDescriptionreduce(InternalAggregation aggregation, AggregationReduceContext reduceContext) Methods inherited from class org.elasticsearch.search.aggregations.pipeline.PipelineAggregatorbucketsPaths, metadata, name
- 
Method Details- 
reducepublic InternalAggregation reduce(InternalAggregation aggregation, AggregationReduceContext reduceContext) - Specified by:
- reducein class- PipelineAggregator
 
 
-