[][src]Trait datafusion::table::Table

pub trait Table {
    fn select_columns(&self, columns: Vec<&str>) -> Result<Arc<dyn Table>>;
fn limit(&self, n: usize) -> Result<Arc<dyn Table>>;
fn to_logical_plan(&self) -> Arc<LogicalPlan>; }

Table is an abstraction of a logical query plan

Required methods

fn select_columns(&self, columns: Vec<&str>) -> Result<Arc<dyn Table>>

Select columns by name

fn limit(&self, n: usize) -> Result<Arc<dyn Table>>

limit the number of rows

fn to_logical_plan(&self) -> Arc<LogicalPlan>

Return the logical plan

Loading content...

Implementors

impl Table for TableImpl[src]

fn select_columns(&self, columns: Vec<&str>) -> Result<Arc<dyn Table>>[src]

Apply a projection based on a list of column names

fn limit(&self, n: usize) -> Result<Arc<dyn Table>>[src]

Limit the number of rows

fn to_logical_plan(&self) -> Arc<LogicalPlan>[src]

Convert to logical plan

Loading content...