ExecuteParentKernel

Trait ExecuteParentKernel 

Source
pub trait ExecuteParentKernel<V: VTable>: Debug {
    type Parent: Matcher;

    // Required methods
    fn parent(&self) -> Self::Parent;
    fn execute_parent(
        &self,
        array: &V::Array,
        parent: <Self::Parent as Matcher>::View<'_>,
        child_idx: usize,
        ctx: &mut ExecutionCtx,
    ) -> VortexResult<Option<Vector>>;
}

Required Associated Types§

Required Methods§

Source

fn parent(&self) -> Self::Parent

Returns the matcher for the parent array

Source

fn execute_parent( &self, array: &V::Array, parent: <Self::Parent as Matcher>::View<'_>, child_idx: usize, ctx: &mut ExecutionCtx, ) -> VortexResult<Option<Vector>>

Attempt to execute the parent array fused with the child array.

Implementors§