Interface PipelineAggregator.Parser

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

@FunctionalInterface public static interface PipelineAggregator.Parser
  • Field Details

  • Method Details

    • parse

      PipelineAggregationBuilder parse(String pipelineAggregatorName, XContentParser parser) throws IOException
      Returns the pipeline aggregator factory with which this parser is associated.
      Parameters:
      pipelineAggregatorName - The name of the pipeline aggregation
      parser - the parser
      Returns:
      The resolved pipeline aggregator factory
      Throws:
      IOException - When parsing fails