Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
datafusion::exec::SimpleRelation - Rust
[go: Go Back, main page]

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

pub trait SimpleRelation {
    fn scan<'a>(
        &'a self,
        ctx: &'a ExecutionContext
    ) -> Box<Iterator<Item = Result<Row, ExecutionError>> + '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

scan all records in this relation

get the schema for this relation

Implementors