Class EsqlPlugin
java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.xpack.esql.plugin.EsqlPlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,ActionPlugin,ExtensiblePlugin,SearchPlugin
-
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.ActionHandlerNested classes/interfaces inherited from interface org.elasticsearch.plugins.ExtensiblePlugin
ExtensiblePlugin.ExtensionLoaderNested classes/interfaces inherited from interface org.elasticsearch.plugins.SearchPlugin
SearchPlugin.AggregationSpec, SearchPlugin.FetchPhaseConstructionContext, SearchPlugin.GenericNamedWriteableSpec, SearchPlugin.PipelineAggregationSpec, SearchPlugin.QuerySpec<T extends QueryBuilder>, SearchPlugin.QueryVectorBuilderSpec<T extends QueryVectorBuilder>, SearchPlugin.RescorerSpec<T extends RescorerBuilder<T>>, SearchPlugin.RetrieverSpec<RB extends RetrieverBuilder>, SearchPlugin.ScoreFunctionSpec<T extends ScoreFunctionBuilder<T>>, SearchPlugin.SearchExtensionSpec<W extends NamedWriteable,P>, SearchPlugin.SearchExtSpec<T extends SearchExtBuilder>, SearchPlugin.SignificanceHeuristicSpec<T extends SignificanceHeuristic>, SearchPlugin.SuggesterSpec<T extends SuggestionBuilder<T>> -
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 StringTuning 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<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.voidMethods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, getAdditionalIndexSettingProviders, getBootstrapChecks, getIndexTemplateMetadataUpgrader, getNamedXContent, getProjectCustomMetadataUpgraders, 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, mappingRequestValidatorsMethods inherited from interface org.elasticsearch.plugins.SearchPlugin
getAggregationExtentions, getAggregations, getFetchSubPhases, getHighlighters, getPipelineAggregations, getQueries, getQueryVectorBuilders, getRequestCacheKeyDifferentiator, getRescorers, getRetrievers, getScoreFunctions, getSearchExts, getSignificanceHeuristics, getSuggesters
-
Field Details
-
ESQL_WORKER_THREAD_POOL_NAME
- See Also:
-
QUERY_RESULT_TRUNCATION_MAX_SIZE
-
QUERY_RESULT_TRUNCATION_DEFAULT_SIZE
-
QUERY_TIMESERIES_RESULT_TRUNCATION_DEFAULT_SIZE
-
QUERY_TIMESERIES_RESULT_TRUNCATION_MAX_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
- 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
-
loadExtensions
- Specified by:
loadExtensionsin interfaceExtensiblePlugin
-
getGenericNamedWriteables
- Specified by:
getGenericNamedWriteablesin interfaceSearchPlugin
-