Package org.opensearch.plugin.insights
Class QueryInsightsPlugin
java.lang.Object
org.opensearch.plugins.Plugin
org.opensearch.plugin.insights.QueryInsightsPlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,ActionPlugin
Plugin class for Query Insights.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.plugins.ActionPlugin
ActionPlugin.ActionHandler<Request extends ActionRequest,Response extends org.opensearch.core.action.ActionResponse> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateComponents(Client client, ClusterService clusterService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, org.opensearch.core.xcontent.NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, org.opensearch.core.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, IndexNameExpressionResolver indexNameExpressionResolver, Supplier<RepositoriesService> repositoriesServiceSupplier) List<ActionPlugin.ActionHandler<? extends ActionRequest, ? extends org.opensearch.core.action.ActionResponse>> List<ExecutorBuilder<?>> getExecutorBuilders(Settings settings) getRestHandlers(Settings settings, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, Supplier<DiscoveryNodes> nodesInCluster) Methods inherited from class org.opensearch.plugins.Plugin
additionalSettings, close, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, 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, mappingRequestValidators
-
Constructor Details
-
QueryInsightsPlugin
public QueryInsightsPlugin()Default constructor
-
-
Method Details
-
createComponents
public Collection<Object> createComponents(Client client, ClusterService clusterService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, org.opensearch.core.xcontent.NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, org.opensearch.core.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, IndexNameExpressionResolver indexNameExpressionResolver, Supplier<RepositoriesService> repositoriesServiceSupplier) - Overrides:
createComponentsin classPlugin
-
getExecutorBuilders
- Overrides:
getExecutorBuildersin classPlugin
-
getRestHandlers
public List<RestHandler> getRestHandlers(Settings settings, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, Supplier<DiscoveryNodes> nodesInCluster) - Specified by:
getRestHandlersin interfaceActionPlugin
-
getActions
public List<ActionPlugin.ActionHandler<? extends ActionRequest,? extends org.opensearch.core.action.ActionResponse>> getActions()- Specified by:
getActionsin interfaceActionPlugin
-
getSettings
- Overrides:
getSettingsin classPlugin
-