Skip to content

Scan

ScanPhysicalOp

Bases: PhysicalOperator, ABC

Physical operators which implement DataReaders require slightly more information in order to accurately compute naive cost estimates. Thus, we use a slightly modified abstract base class for these operators.

__init__

__init__(datareader: DataReader, *args, **kwargs)

__call__

__call__(idx: int) -> DataRecordSet

This function invokes self.datareader.__getitem__ on the given idx to retrieve the next data item. It then returns this item as a DataRecord wrapped in a DataRecordSet.

MarshalAndScanDataOp

CacheScanDataOp