Class ExecNodeGraphGenerator

java.lang.Object
org.apache.flink.table.planner.plan.nodes.exec.ExecNodeGraphGenerator

public class ExecNodeGraphGenerator extends Object
A generator that generates a ExecNode graph from a graph of FlinkPhysicalRels.

This traverses the tree of FlinkPhysicalRel starting from the sinks. At each rel we recursively transform the inputs, then create a ExecNode. Each rel will be visited only once, that means a rel will only generate one ExecNode instance.

Exchange and Union will create a actual node in the ExecNode graph as the first step, once all ExecNodes' implementation are separated from physical rel, we will use InputProperty to replace them.

  • Constructor Details

    • ExecNodeGraphGenerator

      public ExecNodeGraphGenerator()
  • Method Details

    • generate

      public ExecNodeGraph generate(List<FlinkPhysicalRel> relNodes, boolean isCompiled)