Expand description
Scan operators.
TableScan pulls rows from any RowSource in fixed-size
batches. The trait is the integration seam: the engine implements
it over its in-memory and SQLite-backed table state, the FDW layer
implements it over MemoryHandler / DuckDBHandler /
ArrowHandler, and tests can implement it directly over an
in-memory Vec<ResultRow>.
Structs§
- Physical
VecSource - In-memory positional source that preserves a structured
RowSchemaand shared physical row fragments without round-tripping through named maps. - RowIterator
Scan - Physical scan over a fallible row iterator. Unlike
VecSource, this adapter preserves producer backpressure and late errors without requiring a cardinality-sized staging vector. - Table
Scan TableScan: a leaf operator that drains itsRowSource.- VecSource
- In-memory source from a precomputed
Vec<ResultRow>. Useful for tests and for materialising CTE bodies.