public class ScriptParameterParser extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ScriptParameterParser.ScriptParameterValue |
Modifier and Type | Field and Description |
---|---|
static String |
FILE_SUFFIX |
static String |
INDEXED_SUFFIX |
Constructor and Description |
---|
ScriptParameterParser() |
ScriptParameterParser(Set<String> parameterNames) |
Modifier and Type | Method and Description |
---|---|
ScriptParameterParser.ScriptParameterValue |
getDefaultScriptParameterValue() |
ScriptParameterParser.ScriptParameterValue |
getScriptParameterValue(String parameterName) |
String |
lang() |
void |
parseConfig(Map<String,Object> config,
boolean removeMatchedEntries,
ParseFieldMatcher parseFieldMatcher) |
void |
parseParams(ToXContent.Params params) |
boolean |
token(String currentFieldName,
XContentParser.Token token,
XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
public static final String FILE_SUFFIX
public static final String INDEXED_SUFFIX
public boolean token(String currentFieldName, XContentParser.Token token, XContentParser parser, ParseFieldMatcher parseFieldMatcher) throws IOException
IOException
public void parseConfig(Map<String,Object> config, boolean removeMatchedEntries, ParseFieldMatcher parseFieldMatcher)
public void parseParams(ToXContent.Params params)
public ScriptParameterParser.ScriptParameterValue getDefaultScriptParameterValue()
public ScriptParameterParser.ScriptParameterValue getScriptParameterValue(String parameterName)
public String lang()
Copyright © 2009–2016. All rights reserved.