public class MovAvgParser extends Object implements PipelineAggregator.Parser
Modifier and Type | Field and Description |
---|---|
static ParseField |
MINIMIZE |
static ParseField |
MODEL |
static ParseField |
PREDICT |
static ParseField |
SETTINGS |
static ParseField |
WINDOW |
BUCKETS_PATH, FORMAT, GAP_POLICY
Constructor and Description |
---|
MovAvgParser(MovAvgModelParserMapper movAvgModelParserMapper) |
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 MODEL
public static final ParseField WINDOW
public static final ParseField SETTINGS
public static final ParseField PREDICT
public static final ParseField MINIMIZE
@Inject public MovAvgParser(MovAvgModelParserMapper movAvgModelParserMapper)
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–2017. All rights reserved.