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) |
boolean |
preVisit(OptimizerNode node) |
public InterestingPropertyVisitor(CostEstimator estimator)
estimator
- The cost estimator to estimate the maximal costs for interesting properties.public boolean preVisit(OptimizerNode node)
preVisit
in interface Visitor<OptimizerNode>
public void postVisit(OptimizerNode visitable)
postVisit
in interface Visitor<OptimizerNode>
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.