Class TestTemplateService
java.lang.Object
org.opensearch.script.ScriptService
org.opensearch.ingest.TestTemplateService
- All Implemented Interfaces:
Closeable,AutoCloseable,org.opensearch.cluster.ClusterStateApplier
public class TestTemplateService
extends org.opensearch.script.ScriptService
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.opensearch.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 -
Method Summary
Modifier and TypeMethodDescription<FactoryType>
FactoryTypecompile(org.opensearch.script.Script script, org.opensearch.script.ScriptContext<FactoryType> context) static org.opensearch.script.ScriptServiceinstance()static org.opensearch.script.ScriptServiceinstance(boolean compilationException) Methods inherited from class org.opensearch.script.ScriptService
applyClusterState, cacheStats, close, deleteStoredScript, getContextInfos, getScriptFromClusterState, getScriptLanguages, getStoredScript, isAnyContextEnabled, isContextEnabled, isLangSupported, isTypeEnabled, putStoredScript, stats
-
Method Details
-
instance
public static org.opensearch.script.ScriptService instance() -
instance
public static org.opensearch.script.ScriptService instance(boolean compilationException) -
compile
public <FactoryType> FactoryType compile(org.opensearch.script.Script script, org.opensearch.script.ScriptContext<FactoryType> context) - Overrides:
compilein classorg.opensearch.script.ScriptService
-