Class DataSourceModule

java.lang.Object
org.elasticsearch.xpack.esql.datasources.DataSourceModule
All Implemented Interfaces:
Closeable, AutoCloseable

public final class DataSourceModule extends Object implements Closeable
Module that collects all data source implementations from plugins.

This module registers lazy delegating factories per-plugin so that heavy dependencies (AWS SDK, Parquet, Arrow) are only loaded when a query targets that backend. Capability declarations (DataSourceCapabilities) are used for cheap routing and early validation without triggering classloading.