pub fn filter<F>(&self, filters: &Vec<Box<dyn ColumnFilter>>,
                     mut op_func: F)
    where F: FnMut(&mut Operator) {
        for batch in &self.batches {
            let mut op = batch.get_filter_operator(filters).expect("Error getting filter operator");
            op_func(&mut op);
        }
    }
/// Calls get_filter_operator and calls your closure for each operator/batch.
/// Starting point for filtering the whole table.
Calls get_filter_operator and calls your closure for each operator/batch.
Starting point for filtering the whole table.
Calls get_filter_operator and calls your closure for each operator / batch . Starting point for filtering the whole table .
pub fn filter<F>(&self, filters: &Vec<Box<dyn ColumnFilter>>,
                     mut op_func: F)
    where F: FnMut(&mut Operator) {
        for batch in &self.batches {
            let mut op = batch.get_filter_operator(filters).expect("Error getting filter operator");
            op_func(&mut op);
        }
    }
pub fn filter < F > ( & self , filters : & Vec < Box < dyn ColumnFilter > > , mut op_func : F ) where F : FnMut ( & mut Operator ) { for batch in & self . batches { let mut op = batch . get_filter_operator ( filters ) . expect ( " " ) ; op_func ( & mut op ) ; } }
Calls get_filter_operator and calls your closure for each operator/batch.
Calls get_filter_operator and calls your closure for each operator / batch .
&self
filters
&Vec<Box<dyn ColumnFilter>>
op_func
F