Class BucketMetricsParser
java.lang.Object
org.elasticsearch.search.aggregations.pipeline.BucketMetricsParser
- All Implemented Interfaces:
- PipelineAggregator.Parser
- Direct Known Subclasses:
- ExtendedStatsBucketParser
A parser for parsing requests for a 
BucketMetricsPipelineAggregator- 
Field SummaryFieldsFields inherited from interface org.elasticsearch.search.aggregations.pipeline.PipelineAggregator.ParserBUCKETS_PATH, GAP_POLICY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract BucketMetricsPipelineAggregationBuilder<?>Returns the pipeline aggregator factory with which this parser is associated.protected booleantoken(org.elasticsearch.common.xcontent.XContentParser parser, String field, org.elasticsearch.common.xcontent.XContentParser.Token token, Map<String,Object> params)
- 
Field Details- 
FORMATpublic static final org.elasticsearch.common.xcontent.ParseField FORMAT
 
- 
- 
Constructor Details- 
BucketMetricsParserpublic BucketMetricsParser()
 
- 
- 
Method Details- 
parsepublic final BucketMetricsPipelineAggregationBuilder<?> parse(String pipelineAggregatorName, org.elasticsearch.common.xcontent.XContentParser parser) throws IOExceptionDescription copied from interface:PipelineAggregator.ParserReturns the pipeline aggregator factory with which this parser is associated.- Specified by:
- parsein interface- PipelineAggregator.Parser
- Parameters:
- pipelineAggregatorName- The name of the pipeline aggregation
- parser- the parser
- Returns:
- The resolved pipeline aggregator factory
- Throws:
- IOException- When parsing fails
 
- 
buildFactory
- 
tokenprotected boolean token(org.elasticsearch.common.xcontent.XContentParser parser, String field, org.elasticsearch.common.xcontent.XContentParser.Token token, Map<String,Object> params) throws IOException- Throws:
- IOException
 
 
-