Package org.elasticsearch.script
Class UpdateScript
org.elasticsearch.script.UpdateScript
public abstract class UpdateScript
extends
An update script.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic ScriptContext<UpdateScript.Factory>
The context used to compileUpdateScript
factories.static []
-
Constructor Summary
ConstructorDescription<,> params, <,> ctx)
-
Method Summary
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Field Details
-
PARAMETERS
public static final [] PARAMETERS -
CONTEXT
The context used to compileUpdateScript
factories.
-
-
Constructor Details
-
UpdateScript
public UpdateScript(<,> params, <,> ctx)
-
-
Method Details
-
getParams
public <,> getParams()Return the parameters for this script. -
getCtx
public <,> getCtx()Return the update context for this script. -
execute
public abstract void execute()
-