Class BucketMetricsParser

    • Field Detail

    • Constructor Detail

      • BucketMetricsParser

        public BucketMetricsParser()
    • Method Detail

      • parse

        public final BucketMetricsPipelineAggregationBuilder<?> parse​(java.lang.String pipelineAggregatorName,
                                                                      XContentParser parser)
                                                               throws java.io.IOException
        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:
        java.io.IOException - When parsing fails
      • buildFactory

        protected abstract BucketMetricsPipelineAggregationBuilder<?> buildFactory​(java.lang.String pipelineAggregatorName,
                                                                                   java.lang.String bucketsPaths,
                                                                                   java.util.Map<java.lang.String,​java.lang.Object> params)
      • token

        protected boolean token​(XContentParser parser,
                                java.lang.String field,
                                XContentParser.Token token,
                                java.util.Map<java.lang.String,​java.lang.Object> params)
                         throws java.io.IOException
        Throws:
        java.io.IOException