Interface PipelineAggregator.Parser

All Known Implementing Classes:
BucketMetricsParser, ExtendedStatsBucketParser
Enclosing class:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

public static interface PipelineAggregator.Parser
Parse the PipelineAggregationBuilder from a XContentParser.
  • Field Summary

    Modifier and Type Field Description
    static org.elasticsearch.common.ParseField BUCKETS_PATH  
    static org.elasticsearch.common.ParseField FORMAT  
    static org.elasticsearch.common.ParseField GAP_POLICY  
  • Method Summary

    Modifier and Type Method Description
    PipelineAggregationBuilder parse​(java.lang.String pipelineAggregatorName, org.elasticsearch.common.xcontent.XContentParser parser)
    Returns the pipeline aggregator factory with which this parser is associated.
  • Field Details


      static final org.elasticsearch.common.ParseField BUCKETS_PATH
    • FORMAT

      static final org.elasticsearch.common.ParseField FORMAT

      static final org.elasticsearch.common.ParseField GAP_POLICY
  • Method Details

    • parse

      PipelineAggregationBuilder parse​(java.lang.String pipelineAggregatorName, org.elasticsearch.common.xcontent.XContentParser parser) throws
      Returns the pipeline aggregator factory with which this parser is associated.
      pipelineAggregatorName - The name of the pipeline aggregation
      parser - the parser
      The resolved pipeline aggregator factory
      Throws: - When parsing fails