Package org.elasticsearch.script
Class IngestScript
java.lang.Object
org.elasticsearch.script.IngestScript
public abstract class IngestScript
extends java.lang.Object
A script used by the Ingest Script Processor.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
IngestScript.Factory
-
Field Summary
Fields Modifier and Type Field Description static ScriptContext<IngestScript.Factory>
CONTEXT
The context used to compileIngestScript
factories.static java.lang.String[]
PARAMETERS
-
Constructor Summary
Constructors Constructor Description IngestScript(java.util.Map<java.lang.String,java.lang.Object> params)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
PARAMETERS
public static final java.lang.String[] PARAMETERS -
CONTEXT
The context used to compileIngestScript
factories.
-
-
Constructor Details
-
IngestScript
public IngestScript(java.util.Map<java.lang.String,java.lang.Object> params)
-
-
Method Details
-
getParams
public java.util.Map<java.lang.String,java.lang.Object> getParams()Return the parameters for this script. -
execute
public abstract void execute(java.util.Map<java.lang.String,java.lang.Object> ctx)
-