Class BucketMetricsParser
org.elasticsearch.search.aggregations.pipeline.BucketMetricsParser
- All Implemented Interfaces:
PipelineAggregator.Parser
- Direct Known Subclasses:
ExtendedStatsBucketParser
A parser for parsing requests for a
BucketMetricsPipelineAggregator
-
Field Summary
Fields inherited from interface org.elasticsearch.search.aggregations.pipeline.PipelineAggregator.Parser
BUCKETS_PATH, GAP_POLICY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract BucketMetricsPipelineAggregationBuilder<?>
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) throwsDescription copied from interface:PipelineAggregator.Parser
Returns the pipeline aggregator factory with which this parser is associated.- Specified by:
parse
in interfacePipelineAggregator.Parser
- Parameters:
pipelineAggregatorName
- The name of the pipeline aggregationparser
- 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:
-