DynArrayParentReduceRule

Trait DynArrayParentReduceRule 

Source
pub trait DynArrayParentReduceRule:
    Debug
    + Send
    + Sync {
    // Required methods
    fn child_key(&self) -> MatchKey;
    fn parent_key(&self) -> MatchKey;
    fn reduce_parent(
        &self,
        array: &ArrayRef,
        parent: &ArrayRef,
        child_idx: usize,
    ) -> VortexResult<Option<ArrayRef>>;
}
Expand description

Dynamic trait for array parent reduce rules

Required Methods§

Source

fn child_key(&self) -> MatchKey

Source

fn parent_key(&self) -> MatchKey

Source

fn reduce_parent( &self, array: &ArrayRef, parent: &ArrayRef, child_idx: usize, ) -> VortexResult<Option<ArrayRef>>

Implementors§