pub trait ArrayReduceRule<V: VTable>:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn reduce(&self, array: &V::Array) -> VortexResult<Option<ArrayRef>>;
}Expand description
A metadata-only rewrite rule that transforms an array based on its own structure (Layer 1).
These rules look only at the array’s metadata and children types (not buffer contents)
and return a structurally simpler replacement, or None if the rule doesn’t apply.