Class BinaryUnionReplacer

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

    public class BinaryUnionReplacer
    extends Object
    implements org.apache.flink.util.Visitor<PlanNode>
    A traversal that collects cascading binary unions into a single n-ary union operator. The exception is, when on of the union inputs is materialized, such as in the static-code-path-cache in iterations.
    • Constructor Detail

      • BinaryUnionReplacer

        public BinaryUnionReplacer()
    • 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>