Struct datafusion::dataframe::DF [−][src]
pub struct DF { pub plan: Rc<LogicalPlan>, // some fields omitted }
Fields
plan: Rc<LogicalPlan>
Methods
impl DF
[src]
impl DF
pub fn new(ctx: ExecutionContext, plan: Rc<LogicalPlan>) -> Self
[src]
pub fn new(ctx: ExecutionContext, plan: Rc<LogicalPlan>) -> Self
pub fn with_plan(&self, plan: Rc<LogicalPlan>) -> Self
[src]
pub fn with_plan(&self, plan: Rc<LogicalPlan>) -> Self
Trait Implementations
impl DataFrame for DF
[src]
impl DataFrame for DF
fn select(&self, expr: Vec<Expr>) -> Result<Rc<DataFrame>>
[src]
fn select(&self, expr: Vec<Expr>) -> Result<Rc<DataFrame>>
Projection
fn filter(&self, expr: Expr) -> Result<Rc<DataFrame>>
[src]
fn filter(&self, expr: Expr) -> Result<Rc<DataFrame>>
Selection
fn col(&self, column_name: &str) -> Result<Expr>
[src]
fn col(&self, column_name: &str) -> Result<Expr>
Return an expression representing the specified column
fn schema(&self) -> &Rc<Schema>
[src]
fn schema(&self) -> &Rc<Schema>
fn plan(&self) -> &Rc<LogicalPlan>
[src]
fn plan(&self) -> &Rc<LogicalPlan>
fn show(&self, count: usize)
[src]
fn show(&self, count: usize)
show N rows (useful for debugging)