Class EsqlPlugin
java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.xpack.esql.plugin.EsqlPlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,ActionPlugin
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.plugins.Plugin
Plugin.PluginServicesNested classes/interfaces inherited from interface org.elasticsearch.plugins.ActionPlugin
ActionPlugin.ActionHandler<Request extends ActionRequest,Response extends ActionResponse> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Setting<org.elasticsearch.core.TimeValue> static final Setting<org.elasticsearch.core.TimeValue> static final Setting<org.elasticsearch.core.TimeValue> static final Setting<org.elasticsearch.core.TimeValue> static final Stringstatic final FeatureFlagTuning parameter for deciding when to use the "merge" stored field loader. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BlockFactoryProviderblockFactoryProvider(CircuitBreaker breaker, BigArrays bigArrays, ByteSizeValue maxPrimitiveArraySize) Collection<?> createComponents(Plugin.PluginServices services) List<ActionPlugin.ActionHandler<? extends ActionRequest, ? extends ActionResponse>> List<ExecutorBuilder<?>> getExecutorBuilders(Settings settings) protected XPackLicenseStategetRestHandlers(Settings settings, NamedWriteableRegistry namedWriteableRegistry, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, Supplier<DiscoveryNodes> nodesInCluster, Predicate<NodeFeature> clusterSupportsFeature) The settings defined by the ESQL plugin.Methods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, getAdditionalIndexSettingProviders, getBootstrapChecks, getIndexTemplateMetadataUpgrader, getNamedXContent, getSettingsFilter, onIndexModuleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.plugins.ActionPlugin
getActionFilters, getMappedActionFilters, getRestHeaders, getTaskHeaders, indicesAliasesRequestValidators, mappingRequestValidators
-
Field Details
-
INLINESTATS_FEATURE_FLAG
-
ESQL_WORKER_THREAD_POOL_NAME
- See Also:
-
QUERY_RESULT_TRUNCATION_MAX_SIZE
-
QUERY_RESULT_TRUNCATION_DEFAULT_SIZE
-
QUERY_ALLOW_PARTIAL_RESULTS
-
ESQL_QUERYLOG_THRESHOLD_WARN_SETTING
-
ESQL_QUERYLOG_THRESHOLD_INFO_SETTING
-
ESQL_QUERYLOG_THRESHOLD_DEBUG_SETTING
-
ESQL_QUERYLOG_THRESHOLD_TRACE_SETTING
-
ESQL_QUERYLOG_INCLUDE_USER_SETTING
-
STORED_FIELDS_SEQUENTIAL_PROPORTION
Tuning parameter for deciding when to use the "merge" stored field loader. Think of it as "how similar to a sequential block of documents do I have to be before I'll use the merge reader?" So a value of1means I have to be exactly a sequential block, like0, 1, 2, 3, .. 1299, 1300. A value of.2means we'll use the sequential reader even if we only need one in ten documents.The default value of this was experimentally derived using a script. And a little paranoia. A lower default value was looking good locally, but I'm concerned about the implications of effectively using this all the time.
-
-
Constructor Details
-
EsqlPlugin
public EsqlPlugin()
-
-
Method Details
-
createComponents
- Overrides:
createComponentsin classPlugin
-
blockFactoryProvider
protected BlockFactoryProvider blockFactoryProvider(CircuitBreaker breaker, BigArrays bigArrays, ByteSizeValue maxPrimitiveArraySize) -
getLicenseState
-
getSettings
The settings defined by the ESQL plugin.- Overrides:
getSettingsin classPlugin- Returns:
- the settings
-
getActions
public List<ActionPlugin.ActionHandler<? extends ActionRequest,? extends ActionResponse>> getActions()- Specified by:
getActionsin interfaceActionPlugin
-
getRestHandlers
public List<RestHandler> getRestHandlers(Settings settings, NamedWriteableRegistry namedWriteableRegistry, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, Supplier<DiscoveryNodes> nodesInCluster, Predicate<NodeFeature> clusterSupportsFeature) - Specified by:
getRestHandlersin interfaceActionPlugin
-
getNamedWriteables
- Overrides:
getNamedWriteablesin classPlugin
-
getExecutorBuilders
- Overrides:
getExecutorBuildersin classPlugin
-