public class PlanFinalizer extends Object implements Visitor<PlanNode>
Constructor and Description |
---|
PlanFinalizer()
Creates a new plan finalizer.
|
Modifier and Type | Method and Description |
---|---|
OptimizedPlan |
createFinalPlan(List<SinkPlanNode> sinks,
String jobName,
Plan originalPlan) |
void |
postVisit(PlanNode visitable)
Method that is invoked after all child nodes or descendant nodes were visited.
|
boolean |
preVisit(PlanNode visitable)
Method that is invoked on the visit before visiting and child nodes or descendant nodes.
|
public OptimizedPlan createFinalPlan(List<SinkPlanNode> sinks, String jobName, Plan originalPlan)
public boolean preVisit(PlanNode visitable)
Visitor
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.