public abstract class BucketMetricsParser extends Object implements PipelineAggregator.Parser
BucketMetricsPipelineAggregator| Modifier and Type | Field and Description |
|---|---|
static ParseField |
FORMAT |
BUCKETS_PATH, GAP_POLICY| Constructor and Description |
|---|
BucketMetricsParser() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract PipelineAggregatorFactory |
buildFactory(String pipelineAggregatorName,
String[] bucketsPaths,
BucketHelpers.GapPolicy gapPolicy,
ValueFormatter formatter,
Map<String,Object> unparsedParams) |
PipelineAggregatorFactory |
parse(String pipelineAggregatorName,
XContentParser parser,
SearchContext context)
Returns the pipeline aggregator factory with which this parser is
associated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittypepublic static final ParseField FORMAT
public final PipelineAggregatorFactory parse(String pipelineAggregatorName, XContentParser parser, SearchContext context) throws IOException
PipelineAggregator.Parserparse in interface PipelineAggregator.ParserpipelineAggregatorName - The name of the pipeline aggregationparser - The xcontent parsercontext - The search contextIOException - When parsing failsprotected abstract PipelineAggregatorFactory buildFactory(String pipelineAggregatorName, String[] bucketsPaths, BucketHelpers.GapPolicy gapPolicy, ValueFormatter formatter, Map<String,Object> unparsedParams) throws ParseException
ParseExceptionCopyright © 2009–2017. All rights reserved.