pub trait Relation {
    // Required methods
    fn head(&self) -> Header;
    fn row_count(&self) -> RowCount;
}
Expand description

A Relation is anything that could be represented as a Header of [ColumnName:ColumnType] that generates rows/tuples of AlgebraicValue that exactly match that Header.

Required Methods§

source

fn head(&self) -> Header

source

fn row_count(&self) -> RowCount

Specify the size in rows of the Relation.

Warning: It should at least be precise in the lower-bound estimate.

Implementors§