public class ScriptModes extends Object
ScriptMode
s for each of the different scripting languages available,
each script source and each scripted operation.Modifier and Type | Method and Description |
---|---|
org.elasticsearch.script.ScriptMode |
getScriptMode(String lang,
ScriptService.ScriptType scriptType,
ScriptContext scriptContext)
Returns the script mode for a script of a certain written in a certain language,
of a certain type and executing as part of a specific operation/api.
|
String |
toString() |
public org.elasticsearch.script.ScriptMode getScriptMode(String lang, ScriptService.ScriptType scriptType, ScriptContext scriptContext)
lang
- the language that the script is written inscriptType
- the type of the scriptscriptContext
- the operation that requires the execution of the scriptCopyright © 2009–2016. All rights reserved.