Package org.opensearch.script.mustache
Class MustachePlugin
java.lang.Object
org.opensearch.plugins.Plugin
org.opensearch.script.mustache.MustachePlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,ActionPlugin,ScriptPlugin,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.CompositeAggregationSpec, SearchPlugin.ExecutorServiceProvider, 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 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 -
Method Summary
Modifier and TypeMethodDescriptionList<ActionPlugin.ActionHandler<? extends ActionRequest,? extends ActionResponse>> getRestHandlers(Settings settings, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, Supplier<DiscoveryNodes> nodesInCluster) getScriptEngine(Settings settings, 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, onIndexModuleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.plugins.ActionPlugin
getActionFilters, getClientActions, getRestHandlerWrapper, getRestHeaders, getTaskHeaders, indicesAliasesRequestValidators, mappingRequestValidatorsMethods inherited from interface org.opensearch.plugins.ScriptPlugin
getContextsMethods inherited from interface org.opensearch.plugins.SearchPlugin
getAggregationExtentions, getAggregations, getCompositeAggregations, getFetchSubPhases, getHighlighters, getIndexSearcherExecutorProvider, getMovingAverageModels, getPipelineAggregations, getQueries, getQueryPhaseSearcher, getRescorers, getScoreFunctions, getSearchExts, getSignificanceHeuristics, getSorts, getSuggesters
-
Constructor Details
-
MustachePlugin
public MustachePlugin()
-
-
Method Details
-
getScriptEngine
- Specified by:
getScriptEnginein interfaceScriptPlugin
-
getActions
public List<ActionPlugin.ActionHandler<? extends ActionRequest,? extends ActionResponse>> getActions()- Specified by:
getActionsin interfaceActionPlugin
-
getRestHandlers
public List<RestHandler> getRestHandlers(Settings settings, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, Supplier<DiscoveryNodes> nodesInCluster) - Specified by:
getRestHandlersin interfaceActionPlugin
-