Package org.opensearch.script.mustache
Class MustachePlugin
- java.lang.Object
-
- org.opensearch.plugins.Plugin
-
- org.opensearch.script.mustache.MustachePlugin
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,ActionPlugin,ScriptPlugin,SearchPlugin
public class MustachePlugin extends Plugin implements ScriptPlugin, ActionPlugin, SearchPlugin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opensearch.plugins.ActionPlugin
ActionPlugin.ActionHandler<Request extends ActionRequest,Response extends ActionResponse>
-
Nested classes/interfaces inherited from interface org.opensearch.plugins.SearchPlugin
SearchPlugin.AggregationSpec, SearchPlugin.FetchPhaseConstructionContext, SearchPlugin.PipelineAggregationSpec, SearchPlugin.QuerySpec<T extends QueryBuilder>, SearchPlugin.RescorerSpec<T extends RescorerBuilder<T>>, SearchPlugin.ScoreFunctionSpec<T extends ScoreFunctionBuilder<T>>, SearchPlugin.SearchExtensionSpec<W extends NamedWriteable,P extends java.lang.Object>, SearchPlugin.SearchExtSpec<T extends SearchExtBuilder>, SearchPlugin.SignificanceHeuristicSpec<T extends SignificanceHeuristic>, SearchPlugin.SortSpec<T extends SortBuilder<T>>, SearchPlugin.SuggesterSpec<T extends SuggestionBuilder<T>>
-
-
Constructor Summary
Constructors Constructor Description MustachePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ActionPlugin.ActionHandler<? extends ActionRequest,? extends ActionResponse>>getActions()java.util.List<RestHandler>getRestHandlers(Settings settings, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<DiscoveryNodes> nodesInCluster)ScriptEnginegetScriptEngine(Settings settings, java.util.Collection<ScriptContext<?>> contexts)-
Methods inherited from class org.opensearch.plugins.Plugin
additionalSettings, close, createComponents, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettings, getSettingsFilter, getSettingUpgraders, onIndexModule
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.plugins.ActionPlugin
getActionFilters, getClientActions, getRestHandlerWrapper, getRestHeaders, getTaskHeaders, indicesAliasesRequestValidators, mappingRequestValidators
-
Methods inherited from interface org.opensearch.plugins.ScriptPlugin
getContexts
-
Methods inherited from interface org.opensearch.plugins.SearchPlugin
getAggregationExtentions, getAggregations, getFetchSubPhases, getHighlighters, getMovingAverageModels, getPipelineAggregations, getQueries, getRescorers, getScoreFunctions, getSearchExts, getSignificanceHeuristics, getSorts, getSuggesters
-
-
-
-
Method Detail
-
getScriptEngine
public ScriptEngine getScriptEngine(Settings settings, java.util.Collection<ScriptContext<?>> contexts)
- Specified by:
getScriptEnginein interfaceScriptPlugin
-
getActions
public java.util.List<ActionPlugin.ActionHandler<? extends ActionRequest,? extends ActionResponse>> getActions()
- Specified by:
getActionsin interfaceActionPlugin
-
getRestHandlers
public java.util.List<RestHandler> getRestHandlers(Settings settings, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<DiscoveryNodes> nodesInCluster)
- Specified by:
getRestHandlersin interfaceActionPlugin
-
-