Class PlanFinalizer

  • All Implemented Interfaces:
    org.apache.flink.util.Visitor<PlanNode>

    public class PlanFinalizer
    extends Object
    implements org.apache.flink.util.Visitor<PlanNode>
    This visitor traverses the selected execution plan and finalizes it:
    • The graph of nodes is double-linked (links from child to parent are inserted).
    • If unions join static and dynamic paths, the cache is marked as a memory consumer.
    • Relative memory fractions are assigned to all nodes.
    • All nodes are collected into a set.
    • Constructor Detail

      • PlanFinalizer

        public PlanFinalizer()
        Creates a new plan finalizer.
    • Method Detail

      • preVisit

        public boolean preVisit​(PlanNode visitable)
        Specified by:
        preVisit in interface org.apache.flink.util.Visitor<PlanNode>
      • postVisit

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