Class PushRemoteExchangeThroughAssignUniqueId
- java.lang.Object
-
- io.trino.sql.planner.iterative.rule.PushRemoteExchangeThroughAssignUniqueId
-
- All Implemented Interfaces:
Rule<ExchangeNode>
public final class PushRemoteExchangeThroughAssignUniqueId extends Object implements Rule<ExchangeNode>
Pushes RemoteExchange node down through the AssignUniqueId to preserve partitioned_on(unique) and grouped(unique) properties for the output of the AssignUniqueId.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.trino.sql.planner.iterative.Rule
Rule.Context, Rule.Result
-
-
Constructor Summary
Constructors Constructor Description PushRemoteExchangeThroughAssignUniqueId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rule.Resultapply(ExchangeNode node, Captures captures, Rule.Context context)Pattern<ExchangeNode>getPattern()Returns a pattern to which plan nodes this rule applies.
-
-
-
Method Detail
-
getPattern
public Pattern<ExchangeNode> getPattern()
Description copied from interface:RuleReturns a pattern to which plan nodes this rule applies.- Specified by:
getPatternin interfaceRule<ExchangeNode>
-
apply
public Rule.Result apply(ExchangeNode node, Captures captures, Rule.Context context)
- Specified by:
applyin interfaceRule<ExchangeNode>
-
-