BindContext

Trait BindContext 

Source
pub trait BindContext {
    // Required methods
    fn pipelined_input(&self, pipelined_child_idx: usize) -> VectorId;
    fn batch_input(&mut self, batch_child_idx: usize) -> Vector;
}
Expand description

The context used when binding an operator for execution.

Required Methods§

Source

fn pipelined_input(&self, pipelined_child_idx: usize) -> VectorId

Returns the VectorId for the given child that can be passed to the KernelCtx within each step to access the given input.

Note that this child index references the pipelined inputs only, not all children of the array.

Source

fn batch_input(&mut self, batch_child_idx: usize) -> Vector

Returns the batch input vector for the given child.

Note that this child index references the batch inputs only, not all children of the array.

Implementors§