Class RemoveAggregationInSemiJoin
java.lang.Object
io.trino.sql.planner.iterative.rule.RemoveAggregationInSemiJoin
- All Implemented Interfaces:
Rule<SemiJoinNode>
Remove the aggregation node that produces distinct rows from the Filtering source of a Semi join.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.sql.planner.iterative.Rule
Rule.Context, Rule.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(SemiJoinNode semiJoinNode, Captures captures, Rule.Context context) Returns a pattern to which plan nodes this rule applies.
-
Constructor Details
-
RemoveAggregationInSemiJoin
public RemoveAggregationInSemiJoin()
-
-
Method Details
-
getPattern
Description copied from interface:RuleReturns a pattern to which plan nodes this rule applies.- Specified by:
getPatternin interfaceRule<SemiJoinNode>
-
apply
- Specified by:
applyin interfaceRule<SemiJoinNode>
-