Class HttpDataSourcePlugin
java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.xpack.esql.datasource.http.HttpDataSourcePlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,DataSourcePlugin
Data source plugin that provides HTTP/HTTPS and local file storage providers
for ESQL external data sources.
This plugin provides:
- HTTP/HTTPS storage provider for reading from web servers
- Local file system storage provider for testing and development
These implementations have no heavy external dependencies and use JDK's
built-in HttpClient and java.nio APIs.
The executor for async HTTP I/O is injected via the
DataSourcePlugin.storageProviders(Settings, ExecutorService) SPI method,
backed by the ES GENERIC thread pool.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.plugins.Plugin
Plugin.PluginServices -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, createComponents, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getProjectCustomMetadataUpgraders, getSettings, getSettingsFilter, onIndexModuleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xpack.esql.datasources.spi.DataSourcePlugin
connectors, decompressionCodecs, filterPushdownSupport, formatReaders, formatSpecs, namedWriteables, operatorFactories, sourceFactories, storageProviders, supportedCatalogs, supportedConnectorSchemes, tableCatalogs
-
Constructor Details
-
HttpDataSourcePlugin
public HttpDataSourcePlugin()
-
-
Method Details
-
supportedSchemes
- Specified by:
supportedSchemesin interfaceDataSourcePlugin
-
storageProviders
public Map<String,StorageProviderFactory> storageProviders(Settings settings, ExecutorService executor) - Specified by:
storageProvidersin interfaceDataSourcePlugin
-