Trait datafusion::dataframe::DataFrame [] [src]

pub trait DataFrame {
    fn repartition(&self, n: u32) -> Result<Box<DataFrame>, DataFrameError>;
fn select(&self, expr: Vec<Expr>) -> Result<Box<DataFrame>, DataFrameError>;
fn filter(&self, expr: Expr) -> Result<Box<DataFrame>, DataFrameError>;
fn sort(&self, expr: Vec<Expr>) -> Result<Box<DataFrame>, DataFrameError>;
fn write(&self, filename: &str) -> Result<(), DataFrameError>;
fn col(&self, column_name: &str) -> Result<Expr, DataFrameError>;
fn schema(&self) -> Schema; }

DataFrame is an abstraction of a distributed query plan

Required Methods

Change the number of partitions

Projection

Selection

Sorting

Write to CSV ... will support other formats in the future

Return an expression representing the specified column

Implementors