Skip to main content

DataReader

Trait DataReader 

Source
pub trait DataReader: Iterator<Item = Result<Vec<TypedValue>, KyuError>> {
    // Required method
    fn schema(&self) -> &[LogicalType];
}
Expand description

Trait for reading rows from an external data source.

Implementations yield one row at a time as Vec<TypedValue>, matching the target table’s column schema.

Required Methods§

Source

fn schema(&self) -> &[LogicalType]

The expected column types for each row.

Implementors§