Skip to main content

OperatorTreeDriver

Trait OperatorTreeDriver 

Source
pub trait OperatorTreeDriver {
    type Error;

    // Required method
    fn execute_node(
        &self,
        op: &OperatorTree,
    ) -> Result<OperatorOutput, Self::Error>;
}
Expand description

Driver that knows how to execute an OperatorTree node. The engine implements this trait (it owns the per-operator dispatch, child execution, and the runtime context); the planner-side PlanExecutor only wraps root timing and stats collection.

Required Associated Types§

Source

type Error

Failure produced by the physical runtime while materialising a node or one of its descendants.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§