public static class SimpleModel.SimpleModelParser extends MovAvgModel.AbstractModelParser
Constructor and Description |
---|
SimpleModel.SimpleModelParser() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the model
|
MovAvgModel |
parse(Map<String,Object> settings,
String pipelineName,
int windowSize,
ParseFieldMatcher parseFieldMatcher)
Parse a settings hash that is specific to this model
|
checkUnrecognizedParams, parseBoolParam, parseDoubleParam, parseIntegerParam
public String getName()
MovAvgModel.AbstractModelParser
getName
in class MovAvgModel.AbstractModelParser
public MovAvgModel parse(@Nullable Map<String,Object> settings, String pipelineName, int windowSize, ParseFieldMatcher parseFieldMatcher) throws ParseException
MovAvgModel.AbstractModelParser
parse
in class MovAvgModel.AbstractModelParser
settings
- Map of settings, extracted from the requestpipelineName
- Name of the parent pipeline aggwindowSize
- Size of the window for this moving avgparseFieldMatcher
- Matcher for field namesParseException
Copyright © 2009–2017. All rights reserved.