Class PipelineAggregator

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 implements NamedWriteable
  • Constructor Details

    • PipelineAggregator

      protected PipelineAggregator( name, [] bucketsPaths, <,​> metadata)
    • PipelineAggregator

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

    • writeTo

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

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

      public  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  name()
    • bucketsPaths

      public [] bucketsPaths()
    • metadata

      public <,​> metadata()
    • reduce

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