polars_mem_engine

Trait Executor

Source
pub trait Executor: Send {
    // Required method
    fn execute(&mut self, cache: &mut ExecutionState) -> PolarsResult<DataFrame>;
}
Expand description

Executors will evaluate physical expressions and collect them in a DataFrame.

Executors have other executors as input. By having a tree of executors we can execute the physical plan until the last executor is evaluated.

Required Methods§

Source

fn execute(&mut self, cache: &mut ExecutionState) -> PolarsResult<DataFrame>

Trait Implementations§

Source§

impl Default for Box<dyn Executor>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Implementors§