Class InterestingPropertyVisitor
- java.lang.Object
-
- org.apache.flink.optimizer.traversals.InterestingPropertyVisitor
-
- All Implemented Interfaces:
org.apache.flink.util.Visitor<OptimizerNode>
public class InterestingPropertyVisitor extends Object implements org.apache.flink.util.Visitor<OptimizerNode>
Visitor that computes the interesting properties for each node in the optimizer DAG. On its recursive depth-first descend, it propagates all interesting properties top-down.
-
-
Constructor Summary
Constructors Constructor Description InterestingPropertyVisitor(CostEstimator estimator)Creates a new visitor that computes the interesting properties for all nodes in the plan.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpostVisit(OptimizerNode visitable)booleanpreVisit(OptimizerNode node)
-
-
-
Constructor Detail
-
InterestingPropertyVisitor
public InterestingPropertyVisitor(CostEstimator estimator)
Creates a new visitor that computes the interesting properties for all nodes in the plan. It uses the given cost estimator used to compute the maximal costs for an interesting property.- Parameters:
estimator- The cost estimator to estimate the maximal costs for interesting properties.
-
-
Method Detail
-
preVisit
public boolean preVisit(OptimizerNode node)
- Specified by:
preVisitin interfaceorg.apache.flink.util.Visitor<OptimizerNode>
-
postVisit
public void postVisit(OptimizerNode visitable)
- Specified by:
postVisitin interfaceorg.apache.flink.util.Visitor<OptimizerNode>
-
-