Class BucketMetricsParser

org.elasticsearch.search.aggregations.pipeline.BucketMetricsParser
All Implemented Interfaces:
PipelineAggregator.Parser
Direct Known Subclasses:
ExtendedStatsBucketParser

public abstract class BucketMetricsParser extends implements PipelineAggregator.Parser
A parser for parsing requests for a BucketMetricsPipelineAggregator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static org.elasticsearch.common.xcontent.ParseField
     

    Fields inherited from interface org.elasticsearch.search.aggregations.pipeline.PipelineAggregator.Parser

    BUCKETS_PATH, GAP_POLICY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     pipelineAggregatorName,  bucketsPaths, <,​> params)
     
     pipelineAggregatorName, org.elasticsearch.common.xcontent.XContentParser parser)
    Returns the pipeline aggregator factory with which this parser is associated.
    protected boolean
    token​(org.elasticsearch.common.xcontent.XContentParser parser,  field, org.elasticsearch.common.xcontent.XContentParser.Token token, <,​> params)
     

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Field Details

    • FORMAT

      public static final org.elasticsearch.common.xcontent.ParseField FORMAT
  • Constructor Details

    • BucketMetricsParser

      public BucketMetricsParser()
  • Method Details

    • parse

      public final  pipelineAggregatorName, org.elasticsearch.common.xcontent.XContentParser parser) throws
      Description copied from interface: PipelineAggregator.Parser
      Returns the pipeline aggregator factory with which this parser is associated.
      Specified by:
      parse in interface PipelineAggregator.Parser
      Parameters:
      pipelineAggregatorName - The name of the pipeline aggregation
      parser - the parser
      Returns:
      The resolved pipeline aggregator factory
      Throws:
      - When parsing fails
    • buildFactory

      protected abstract  pipelineAggregatorName,  bucketsPaths, <,​> params)
    • token

      protected boolean token(org.elasticsearch.common.xcontent.XContentParser parser,  field, org.elasticsearch.common.xcontent.XContentParser.Token token, <,​> params) throws
      Throws: