fn add_all_input_columns(&mut self, model: &Model) {
        for quantifier_id in self.quantifiers.iter() {
            let q = model.get_quantifier(*quantifier_id);
            if !q.quantifier_type.is_subquery() {
                let input_box = model.get_box(q.input_box);
                for (position, c) in input_box.columns.iter().enumerate() {
                    let expr = BoxScalarExpr::ColumnReference(ColumnReference {
                        quantifier_id: *quantifier_id,
                        position,
                    });
                    self.columns.push(Column {
                        expr,
                        alias: c.alias.clone(),
                    });
                }
            }
        }
    }
/// Add all columns from the non-subquery input quantifiers of the box to the
/// projection of the box.
Add all columns from the non-subquery input quantifiers of the box to the
projection of the box.
Add all columns from the non - subquery input quantifiers of the box to the projection of the box .
fn add_all_input_columns(&mut self, model: &Model) {
        for quantifier_id in self.quantifiers.iter() {
            let q = model.get_quantifier(*quantifier_id);
            if !q.quantifier_type.is_subquery() {
                let input_box = model.get_box(q.input_box);
                for (position, c) in input_box.columns.iter().enumerate() {
                    let expr = BoxScalarExpr::ColumnReference(ColumnReference {
                        quantifier_id: *quantifier_id,
                        position,
                    });
                    self.columns.push(Column {
                        expr,
                        alias: c.alias.clone(),
                    });
                }
            }
        }
    }
fn add_all_input_columns ( & mut self , model : & Model ) { for quantifier_id in self . quantifiers . iter ( ) { let q = model . get_quantifier ( * quantifier_id ) ; if ! q . quantifier_type . is_subquery ( ) { let input_box = model . get_box ( q . input_box ) ; for ( position , c ) in input_box . columns . iter ( ) . enumerate ( ) { let expr = BoxScalarExpr :: ColumnReference ( ColumnReference { quantifier_id : * quantifier_id , position , } ) ; self . columns . push ( Column { expr , alias : c . alias . clone ( ) , } ) ; } } } }
Add all columns from the non-subquery input quantifiers of the box to the
projection of the box.
Add all columns from the non - subquery input quantifiers of the box to the projection of the box .
&mut self
model
&Model
&mut self
model
&Model