pub trait OptimizerRule { // Required method fn optimize(&self, array: &ArrayRef) -> VortexResult<Option<ArrayRef>>; }
A generic optimizer rule that can be applied to an array to try to optimize it.
Try to optimize the given array, returning a replacement if successful.
If no optimization is possible, return None.