Class 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 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:
        preVisit in interface org.apache.flink.util.Visitor<OptimizerNode>
      • postVisit

        public void postVisit​(OptimizerNode visitable)
        Specified by:
        postVisit in interface org.apache.flink.util.Visitor<OptimizerNode>