Package org.elasticsearch.script
Class TemplateScript
java.lang.Object
org.elasticsearch.script.TemplateScript
A string template rendered as a script.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ScriptContext<TemplateScript.Factory>
static final ScriptContext<TemplateScript.Factory>
static final String[]
-
Constructor Summary
-
Method Summary
-
Field Details
-
PARAMETERS
-
CONTEXT
-
INGEST_CONTEXT
-
-
Constructor Details
-
TemplateScript
-
-
Method Details
-
getParams
Return the parameters for this script. -
execute
Run a template and return the resulting string, encoded in utf8 bytes.
-