java.lang.Object
org.elasticsearch.script.WriteScript
org.elasticsearch.script.ReindexScript
A script used in the reindex api
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ScriptContext<ReindexScript.Factory>
The context used to compileReindexScript
factories.static final String[]
Fields inherited from class org.elasticsearch.script.WriteScript
ctxMap
-
Constructor Summary
ConstructorsConstructorDescriptionReindexScript
(Map<String, Object> params, CtxMap<ReindexMetadata> ctxMap) Metadata available to the script _index can't be null _id, _routing and _version are writable and nullable op must be 'noop', 'index' or 'delete' -
Method Summary
Methods inherited from class org.elasticsearch.script.WriteScript
field, getCtx, metadata
-
Field Details
-
PARAMETERS
-
CONTEXT
The context used to compileReindexScript
factories.
-
-
Constructor Details
-
ReindexScript
Metadata available to the script _index can't be null _id, _routing and _version are writable and nullable op must be 'noop', 'index' or 'delete'
-
-
Method Details
-
getParams
Return the parameters for this script. -
execute
public abstract void execute()
-