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
Parse thePipelineAggregationBuilder
from aXContentParser
.
-
-
Field Summary
Fields Modifier and Type Field Description static ParseField
BUCKETS_PATH
static ParseField
FORMAT
static ParseField
GAP_POLICY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PipelineAggregationBuilder
parse(java.lang.String pipelineAggregatorName, XContentParser parser)
Returns the pipeline aggregator factory with which this parser is associated.
-
-
-
Field Detail
-
BUCKETS_PATH
static final ParseField BUCKETS_PATH
-
FORMAT
static final ParseField FORMAT
-
GAP_POLICY
static final ParseField GAP_POLICY
-
-
Method Detail
-
parse
PipelineAggregationBuilder parse(java.lang.String pipelineAggregatorName, XContentParser parser) throws java.io.IOException
Returns the pipeline aggregator factory with which this parser is associated.- Parameters:
pipelineAggregatorName
- The name of the pipeline aggregationparser
- the parser- Returns:
- The resolved pipeline aggregator factory
- Throws:
java.io.IOException
- When parsing fails
-
-