Class ExternalSourceOperatorFactory
java.lang.Object
org.elasticsearch.xpack.esql.datasources.ExternalSourceOperatorFactory
- All Implemented Interfaces:
Describable,Operator.OperatorFactory,SourceOperator.SourceOperatorFactory
public class ExternalSourceOperatorFactory
extends Object
implements SourceOperator.SourceOperatorFactory
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
-
Constructor Summary
ConstructorsConstructorDescriptionExternalSourceOperatorFactory(StorageProvider storageProvider, FormatReader formatReader, StoragePath path, List<Attribute> attributes, int batchSize) ExternalSourceOperatorFactory(StorageProvider storageProvider, FormatReader formatReader, StoragePath path, List<Attribute> attributes, int batchSize, int rowLimit, ExternalSliceQueue sliceQueue) -
Method Summary
-
Constructor Details
-
ExternalSourceOperatorFactory
public ExternalSourceOperatorFactory(StorageProvider storageProvider, FormatReader formatReader, StoragePath path, List<Attribute> attributes, int batchSize, int rowLimit, @Nullable ExternalSliceQueue sliceQueue) -
ExternalSourceOperatorFactory
public ExternalSourceOperatorFactory(StorageProvider storageProvider, FormatReader formatReader, StoragePath path, List<Attribute> attributes, int batchSize)
-
-
Method Details
-
get
- Specified by:
getin interfaceOperator.OperatorFactory- Specified by:
getin interfaceSourceOperator.SourceOperatorFactory
-
describe
- Specified by:
describein interfaceDescribable
-