pub trait ArrayReduceRule<M: Matcher>:
Debug
+ Send
+ Sync
+ 'static {
// Required methods
fn matcher(&self) -> M;
fn reduce(&self, array: M::View<'_>) -> VortexResult<Option<ArrayRef>>;
}Expand description
A rewrite rule that transforms arrays based on the array itself and its children