Package org.elasticsearch.ingest
Class TestTemplateService
java.lang.Object
org.elasticsearch.script.ScriptService
org.elasticsearch.ingest.TestTemplateService
- All Implemented Interfaces:
Closeable,AutoCloseable,ClusterStateApplier,ScriptCompiler
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.elasticsearch.script.ScriptService
ScriptService.ContextSettings -
Field Summary
Fields inherited from class org.elasticsearch.script.ScriptService
ALLOW_NONE, CONTEXTS_ALLOWED_SETTING, SCRIPT_CACHE_EXPIRE_SETTING, SCRIPT_CACHE_SIZE_SETTING, SCRIPT_DISABLE_MAX_COMPILATIONS_RATE_SETTING, SCRIPT_GENERAL_CACHE_EXPIRE_SETTING, SCRIPT_GENERAL_CACHE_SIZE_SETTING, SCRIPT_GENERAL_MAX_COMPILATIONS_RATE_SETTING, SCRIPT_MAX_COMPILATIONS_RATE_SETTING, SCRIPT_MAX_SIZE_IN_BYTES, TYPES_ALLOWED_SETTING, USE_CONTEXT_RATE_KEY_DEPRECATION_MESSAGEFields inherited from interface org.elasticsearch.script.ScriptCompiler
NONE -
Method Summary
Modifier and TypeMethodDescription<FactoryType>
FactoryTypecompile(Script script, ScriptContext<FactoryType> context) static ScriptServiceinstance()static ScriptServiceinstance(boolean compilationException) Methods inherited from class org.elasticsearch.script.ScriptService
applyClusterState, cacheStats, close, contextDeprecationMessage, deleteStoredScript, getContextInfos, getScriptContexts, getScriptFromClusterState, getScriptLanguages, getStoredScript, isAnyContextEnabled, isContextEnabled, isImplicitContextCacheSet, isLangSupported, isTypeEnabled, isUseContextCacheSet, putStoredScript, stats
-
Method Details
-
instance
-
instance
-
compile
- Specified by:
compilein interfaceScriptCompiler- Overrides:
compilein classScriptService
-