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.
Parse the
PipelineAggregationBuilder
from a XContentParser
.-
Field Summary
Modifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
-
Method Summary
Modifier and TypeMethodDescriptionReturns the pipeline aggregator factory with which this parser is associated.
-
Field Details
-
BUCKETS_PATH
static final org.elasticsearch.common.xcontent.ParseField BUCKETS_PATH -
FORMAT
static final org.elasticsearch.common.xcontent.ParseField FORMAT -
GAP_POLICY
static final org.elasticsearch.common.xcontent.ParseField GAP_POLICY
-
-
Method Details
-
parse
PipelineAggregationBuilder parse(String pipelineAggregatorName, org.elasticsearch.common.xcontent.XContentParser parser) throws IOExceptionReturns 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:
IOException
- When parsing fails
-