Package org.elasticsearch.ingest
Class TestTemplateService
java.lang.Object
org.elasticsearch.script.ScriptService
org.elasticsearch.ingest.TestTemplateService
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,ClusterStateApplier
public class TestTemplateService extends ScriptService
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestTemplateService.MockTemplateScript
-
Field Summary
Fields inherited from class org.elasticsearch.script.ScriptService
ALLOW_NONE, CONTEXTS_ALLOWED_SETTING, SCRIPT_CACHE_EXPIRE_SETTING, SCRIPT_CACHE_SIZE_SETTING, SCRIPT_MAX_COMPILATIONS_RATE, SCRIPT_MAX_SIZE_IN_BYTES, TYPES_ALLOWED_SETTING
-
Method Summary
Modifier and Type Method Description <FactoryType>
FactoryTypecompile(Script script, ScriptContext<FactoryType> context)
static ScriptService
instance()
static ScriptService
instance(boolean compilationException)
Methods inherited from class org.elasticsearch.script.ScriptService
applyClusterState, close, deleteStoredScript, getContextInfos, getScriptLanguages, getStoredScript, isAnyContextEnabled, isContextEnabled, isLangSupported, isTypeEnabled, putStoredScript, stats
-
Method Details
-
instance
-
instance
-
compile
- Overrides:
compile
in classScriptService
-