public class BucketScriptParser extends Object implements PipelineAggregator.Parser
| Modifier and Type | Field and Description |
|---|---|
static ParseField |
FORMAT |
static ParseField |
GAP_POLICY |
static ParseField |
PARAMS_FIELD |
BUCKETS_PATH| Constructor and Description |
|---|
BucketScriptParser() |
| Modifier and Type | Method and Description |
|---|---|
PipelineAggregatorFactory |
parse(String reducerName,
XContentParser parser,
SearchContext context)
Returns the pipeline aggregator factory with which this parser is
associated.
|
String |
type() |
public static final ParseField FORMAT
public static final ParseField GAP_POLICY
public static final ParseField PARAMS_FIELD
public String type()
type in interface PipelineAggregator.Parserpublic PipelineAggregatorFactory parse(String reducerName, XContentParser parser, SearchContext context) throws IOException
PipelineAggregator.Parserparse in interface PipelineAggregator.ParserreducerName - The name of the pipeline aggregationparser - The xcontent parsercontext - The search contextIOException - When parsing failsCopyright © 2009–2016. All rights reserved.