@FunctionalInterface
public static interface PipelineAggregator.Parser
PipelineAggregationBuilder from a QueryParseContext.| Modifier and Type | Field and Description |
|---|---|
static ParseField |
BUCKETS_PATH |
static ParseField |
FORMAT |
static ParseField |
GAP_POLICY |
| Modifier and Type | Method and Description |
|---|---|
PipelineAggregationBuilder |
parse(java.lang.String pipelineAggregatorName,
QueryParseContext context)
Returns the pipeline aggregator factory with which this parser is
associated.
|
static final ParseField BUCKETS_PATH
static final ParseField FORMAT
static final ParseField GAP_POLICY
PipelineAggregationBuilder parse(java.lang.String pipelineAggregatorName, QueryParseContext context) throws java.io.IOException
pipelineAggregatorName - The name of the pipeline aggregationcontext - The search contextjava.io.IOException - When parsing fails