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§
Sourcefn schema(&self) -> &[LogicalType]
fn schema(&self) -> &[LogicalType]
The expected column types for each row.