Package org.elasticsearch.script
Class IngestConditionalScript
java.lang.Object
org.elasticsearch.script.IngestConditionalScript
public abstract class IngestConditionalScript
extends java.lang.Object
A script used by
ConditionalProcessor
.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
IngestConditionalScript.Factory
-
Field Summary
Fields Modifier and Type Field Description static ScriptContext<IngestConditionalScript.Factory>
CONTEXT
The context used to compileIngestConditionalScript
factories.static java.lang.String[]
PARAMETERS
-
Constructor Summary
Constructors Constructor Description IngestConditionalScript(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 compileIngestConditionalScript
factories.
-
-
Constructor Details
-
IngestConditionalScript
public IngestConditionalScript(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 boolean execute(java.util.Map<java.lang.String,java.lang.Object> ctx)
-