Rindle docs and package mapSkip to main content

RowFlow

Type Alias RowFlow 

Source
pub type RowFlow<'g> = Box<dyn Iterator<Item = OwnedRow> + 'g>;
Expand description

A lazy stream of owned rows — the currency of the source read pipeline.

A source emits rows, NOT nodes: the overlay splice, start/constraint/filter chain, and k-way merge (source_common) all operate on RowFlow. Rows become Nodes only when they cross the connection boundary (Graph::fetch on a SourceConn wraps each row in a leaf node); downstream joins then attach relationships to those nodes. This keeps the shared source machinery free of any Node/relationship concept (04 §1.1).

'g mirrors NodeStream for symmetry and to admit a borrowing leaf (the SQLite cursor borrows &'g self); the memory leaf’s flow is effectively owned.

Aliased Type§

pub struct RowFlow<'g>(/* private fields */);