Class PipelineAggregator

java.lang.Object
org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
All Implemented Interfaces:
NamedWriteable, Writeable
Direct Known Subclasses:
BucketScriptPipelineAggregator, BucketSelectorPipelineAggregator, BucketSortPipelineAggregator, CumulativeSumPipelineAggregator, DerivativePipelineAggregator, MovAvgPipelineAggregator, MovFnPipelineAggregator, SerialDiffPipelineAggregator, SiblingPipelineAggregator

public abstract class PipelineAggregator
extends java.lang.Object
implements NamedWriteable
  • Constructor Details

    • PipelineAggregator

      protected PipelineAggregator​(java.lang.String name, java.lang.String[] bucketsPaths, java.util.Map<java.lang.String,​java.lang.Object> metadata)
    • PipelineAggregator

      @Deprecated protected PipelineAggregator​(StreamInput in) throws java.io.IOException
      Deprecated.
      pipeline aggregations added after 7.8.0 shouldn't call this
      Read from a stream.
      Throws:
      java.io.IOException
  • Method Details

    • writeTo

      @Deprecated public final void writeTo​(StreamOutput out) throws java.io.IOException
      Deprecated.
      pipeline aggregations added after 7.8.0 shouldn't call this
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      java.io.IOException
    • doWriteTo

      @Deprecated protected void doWriteTo​(StreamOutput out) throws java.io.IOException
      Deprecated.
      pipeline aggregations added after 7.8.0 don't need to implement this
      Write the body of the aggregation to the wire.
      Throws:
      java.io.IOException
    • getWriteableName

      @Deprecated public java.lang.String getWriteableName()
      Deprecated.
      pipeline aggregations added after 7.8.0 don't need to implement this
      The name of the writeable object.
      Specified by:
      getWriteableName in interface NamedWriteable
    • name

      public java.lang.String name()
    • bucketsPaths

      public java.lang.String[] bucketsPaths()
    • metadata

      public java.util.Map<java.lang.String,​java.lang.Object> metadata()
    • reduce

      public abstract InternalAggregation reduce​(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)