Constructor and Description |
---|
AbstractScriptParser() |
Modifier and Type | Method and Description |
---|---|
protected abstract S |
createScript(String script,
ScriptService.ScriptType type,
String lang,
Map<String,Object> params) |
protected abstract S |
createSimpleScript(XContentParser parser) |
protected Map<String,ScriptService.ScriptType> |
getAdditionalScriptParameters()
Deprecated.
|
protected String |
getDefaultScriptLang() |
S |
parse(Map<String,Object> config,
boolean removeMatchedEntries,
ParseFieldMatcher parseFieldMatcher) |
S |
parse(XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
protected abstract String |
parseInlineScript(XContentParser parser) |
protected abstract String parseInlineScript(XContentParser parser) throws IOException
IOException
protected abstract S createScript(String script, ScriptService.ScriptType type, String lang, Map<String,Object> params)
protected abstract S createSimpleScript(XContentParser parser) throws IOException
IOException
@Deprecated protected Map<String,ScriptService.ScriptType> getAdditionalScriptParameters()
public S parse(XContentParser parser, ParseFieldMatcher parseFieldMatcher) throws IOException
IOException
protected String getDefaultScriptLang()
null
to use the default set in the ScriptServicepublic S parse(Map<String,Object> config, boolean removeMatchedEntries, ParseFieldMatcher parseFieldMatcher)
Copyright © 2009–2016. All rights reserved.