Package io.trino.sql.planner.plan
Class SimplePlanRewriter.RewriteContext<C>
java.lang.Object
io.trino.sql.planner.plan.SimplePlanRewriter.RewriteContext<C>
- Enclosing class:
SimplePlanRewriter<C>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultRewrite(PlanNode node) Invoke the rewrite logic recursively on children of the given node and swap it out with an identical copy with the rewritten childrendefaultRewrite(PlanNode node, C context) Invoke the rewrite logic recursively on children of the given node and swap it out with an identical copy with the rewritten childrenget()This method is meant for invoking the rewrite logic on children while processing a nodeThis method is meant for invoking the rewrite logic on children while processing a node
-
Method Details
-
get
-
defaultRewrite
Invoke the rewrite logic recursively on children of the given node and swap it out with an identical copy with the rewritten children -
defaultRewrite
Invoke the rewrite logic recursively on children of the given node and swap it out with an identical copy with the rewritten children -
rewrite
This method is meant for invoking the rewrite logic on children while processing a node -
rewrite
This method is meant for invoking the rewrite logic on children while processing a node
-