public class InterestingPropertyVisitor extends Object implements Visitor<OptimizerNode>
Constructor and Description |
---|
InterestingPropertyVisitor(CostEstimator estimator)
Creates a new visitor that computes the interesting properties for all nodes in the plan.
|
Modifier and Type | Method and Description |
---|---|
void |
postVisit(OptimizerNode visitable)
Method that is invoked after all child nodes or descendant nodes were visited.
|
boolean |
preVisit(OptimizerNode node)
Method that is invoked on the visit before visiting and child nodes or descendant nodes.
|
public InterestingPropertyVisitor(CostEstimator estimator)
estimator
- The cost estimator to estimate the maximal costs for interesting properties.public boolean preVisit(OptimizerNode node)
Visitor
preVisit
in interface Visitor<OptimizerNode>
public void postVisit(OptimizerNode visitable)
Visitor
postVisit
in interface Visitor<OptimizerNode>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.