public static class SimplePlanRewriter.RewriteContext<C> extends Object
Modifier and Type | Method and Description |
---|---|
PlanNode |
defaultRewrite(PlanNode node)
Invoke the rewrite logic recursively on children of the given node and swap it
out with an identical copy with the rewritten children
|
PlanNode |
defaultRewrite(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 children
|
C |
get() |
PlanNode |
rewrite(PlanNode node)
This method is meant for invoking the rewrite logic on children while processing a node
|
PlanNode |
rewrite(PlanNode node,
C userContext)
This method is meant for invoking the rewrite logic on children while processing a node
|
public C get()
public PlanNode defaultRewrite(PlanNode node)
public PlanNode defaultRewrite(PlanNode node, C context)
public PlanNode rewrite(PlanNode node, C userContext)
Copyright © 2012–2022. All rights reserved.