MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / action

Method action

src/transform/src/fusion.rs:53–63  ·  view source on GitHub ↗

Apply fusion action for variants we know how to fuse.

(expr: &mut MirRelationExpr)

Source from the content-addressed store, hash-verified

51impl 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}

Callers 3

render_notices_coreMethod · 0.45

Calls 1

actionFunction · 0.50

Tested by

no test coverage detected