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.
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.
-
Constructor Summary
ConstructorsConstructorDescriptionExternalSourceOperatorFactory(StorageProvider storageProvider, FormatReader formatReader, StoragePath path, List<Attribute> attributes, int batchSize) Deprecated.ExternalSourceOperatorFactory(StorageProvider storageProvider, FormatReader formatReader, StoragePath path, List<Attribute> attributes, int batchSize, int rowLimit, ExternalSliceQueue sliceQueue) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiondescribe()Deprecated.get(DriverContext driverContext) Deprecated.
-
Constructor Details
-
ExternalSourceOperatorFactory
public ExternalSourceOperatorFactory(StorageProvider storageProvider, FormatReader formatReader, StoragePath path, List<Attribute> attributes, int batchSize, int rowLimit, @Nullable ExternalSliceQueue sliceQueue) Deprecated. -
ExternalSourceOperatorFactory
public ExternalSourceOperatorFactory(StorageProvider storageProvider, FormatReader formatReader, StoragePath path, List<Attribute> attributes, int batchSize) Deprecated.
-
-
Method Details
-
get
Deprecated.- Specified by:
getin interfaceOperator.OperatorFactory- Specified by:
getin interfaceSourceOperator.SourceOperatorFactory
-
describe
Deprecated.- Specified by:
describein interfaceDescribable
-
AsyncExternalSourceOperatorFactory.