Trait polars_lazy::physical_plan::executors::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§