Like `map`, but yields zero-or-more output rows per input row
(self, func: TableFunc, exprs: Vec<MirScalarExpr>)
| 1195 | |
| 1196 | /// Like `map`, but yields zero-or-more output rows per input row |
| 1197 | pub fn flat_map(self, func: TableFunc, exprs: Vec<MirScalarExpr>) -> Self { |
| 1198 | MirRelationExpr::FlatMap { |
| 1199 | input: Box::new(self), |
| 1200 | func, |
| 1201 | exprs, |
| 1202 | } |
| 1203 | } |
| 1204 | |
| 1205 | /// Retain only the rows satisfying each of several predicates. |
| 1206 | pub fn filter<I>(mut self, predicates: I) -> Self |
no outgoing calls