Class ExternalSourceOperatorFactory

java.lang.Object
org.elasticsearch.xpack.esql.datasources.ExternalSourceOperatorFactory
All Implemented Interfaces:
Describable, Operator.OperatorFactory, SourceOperator.SourceOperatorFactory

@Deprecated public class ExternalSourceOperatorFactory extends Object implements SourceOperator.SourceOperatorFactory
Deprecated.
retained for test fixtures only; new code should use AsyncExternalSourceOperatorFactory.
Factory for creating source operators that read from external storage using the StorageProvider and FormatReader abstractions. This is the generic implementation that works with any StorageProvider (HTTP, S3, local) and any FormatReader (CSV, Parquet, etc.). The factory creates operators that:
  • Use StorageProvider to access the storage object
  • Use FormatReader to parse the data format
  • Produce ESQL Page batches for the query pipeline

Single-file only; no production callers. Takes one StoragePath and lets the reader self-infer the file's schema; multi-file paths must go through AsyncExternalSourceOperatorFactory, which pins each reader to the per-file schema carried by its FileSplit.