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 ScriptContext<TemplateScript.Factory>
static ScriptContext<TemplateScript.Factory>
static 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.
-