Skip to main content

EngineDataFrame

Trait EngineDataFrame 

Source
pub trait EngineDataFrame {
    // Required methods
    fn filter_expr_ir(
        &self,
        condition: &ExprIr,
    ) -> Result<DataFrame, EngineError>;
    fn select_expr_ir(&self, exprs: &[ExprIr]) -> Result<DataFrame, EngineError>;
    fn with_column_expr_ir(
        &self,
        name: &str,
        expr: &ExprIr,
    ) -> Result<DataFrame, EngineError>;
    fn collect_rows(&self) -> Result<CollectedRows, EngineError>;
}
Expand description

Engine-generic DataFrame operations expressed in terms of ExprIr and EngineError. Implemented for the root DataFrame using the DataFrameBackend trait so callers can depend on this trait instead of the concrete Polars-backed type.

Required Methods§

Implementors§