Trait datafusion::exec::SimpleRelation[][src]

pub trait SimpleRelation {
    fn scan<'a>(
        &'a mut self
    ) -> Box<Iterator<Item = Result<Rc<RecordBatch>>> + 'a>;
fn schema<'a>(&'a self) -> &'a Schema; }

trait for all relations (a relation is essentially just an iterator over rows with a known schema)

Required Methods

Important traits for Box<R>

scan all records in this relation

get the schema for this relation

Implementors