Apply fusion action for variants we know how to fuse.
(expr: &mut MirRelationExpr)
| 51 | impl Fusion { |
| 52 | /// Apply fusion action for variants we know how to fuse. |
| 53 | pub(crate) fn action(expr: &mut MirRelationExpr) { |
| 54 | match expr { |
| 55 | MirRelationExpr::Filter { .. } => filter::Filter::action(expr), |
| 56 | MirRelationExpr::Map { .. } => map::Map::action(expr), |
| 57 | MirRelationExpr::Project { .. } => project::Project::action(expr), |
| 58 | MirRelationExpr::Negate { .. } => negate::Negate::action(expr), |
| 59 | MirRelationExpr::TopK { .. } => top_k::TopK::action(expr), |
| 60 | MirRelationExpr::Union { .. } => union::Union::action(expr), |
| 61 | _ => {} |
| 62 | } |
| 63 | } |
| 64 | } |
no test coverage detected