public class CumulativeSumParser extends Object implements PipelineAggregator.Parser
Modifier and Type | Field and Description |
---|---|
static ParseField |
FORMAT |
static ParseField |
GAP_POLICY |
static ParseField |
UNIT |
BUCKETS_PATH
Constructor and Description |
---|
CumulativeSumParser() |
Modifier and Type | Method and Description |
---|---|
PipelineAggregatorFactory |
parse(String pipelineAggregatorName,
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 UNIT
public String type()
type
in interface PipelineAggregator.Parser
public PipelineAggregatorFactory parse(String pipelineAggregatorName, XContentParser parser, SearchContext context) throws IOException
PipelineAggregator.Parser
parse
in interface PipelineAggregator.Parser
pipelineAggregatorName
- The name of the pipeline aggregationparser
- The xcontent parsercontext
- The search contextIOException
- When parsing failsCopyright © 2009–2016. All rights reserved.