pub fn map<I>(mut self, expressions: I) -> Self
    where
        I: IntoIterator<Item = MirScalarExpr>,
    {
        for mut expression in expressions {
            // Correct column references.
            expression.permute(&self.projection[..]);

            // Validate column references.
            assert!(expression
                .support()
                .into_iter()
                .all(|c| c < self.input_arity + self.expressions.len()));

            // Introduce expression and produce as output.
            self.expressions.push(expression);
            self.projection
                .push(self.input_arity + self.expressions.len() - 1);
        }

        self
    }
/// Append the result of evaluating expressions to each row.
Append the result of evaluating expressions to each row.
Append the result of evaluating expressions to each row .
pub fn map<I>(mut self, expressions: I) -> Self
    where
        I: IntoIterator<Item = MirScalarExpr>,
    {
        for mut expression in expressions {
            // Correct column references.
            expression.permute(&self.projection[..]);
            // Validate column references.
            assert!(expression
                .support()
                .into_iter()
                .all(|c| c < self.input_arity + self.expressions.len()));
            // Introduce expression and produce as output.
            self.expressions.push(expression);
            self.projection
                .push(self.input_arity + self.expressions.len() - 1);
        }
        self
    }
pub fn map < I > ( mut self , expressions : I ) -> Self where I : IntoIterator < Item = MirScalarExpr > , { for mut expression in expressions { // Correct column references. expression . permute ( & self . projection [ .. ] ) ; // Validate column references. assert ! ( expression support ( ) into_iter ( ) all ( c c self input_arity self expressions len ( ) ) ) ; // Introduce expression and produce as output. self . expressions . push ( expression ) ; self . projection . push ( self . input_arity + self . expressions . len ( ) - 1 ) ; } self }
Append the result of evaluating expressions to each row.
Append the result of evaluating expressions to each row .
mut self
expressions
I
mut self
expressions
I