Class RelTraitPropagationVisitor


  • public class RelTraitPropagationVisitor
    extends RelVisitor
    RelTraitPropagationVisitor traverses a RelNode and its unregistered children, making sure that each has a full complement of traits. When a RelNode is found to be missing one or more traits, they are copied from a RelTraitSet given during construction.
    • Constructor Detail

    • Method Detail

      • visit

        public void visit​(RelNode rel,
                          int ordinal,
                          RelNode parent)
        Description copied from class: RelVisitor
        Visits a node during a traversal.
        Overrides:
        visit in class RelVisitor
        Parameters:
        rel - Node to visit
        ordinal - Ordinal of node within its parent
        parent - Parent of the node, or null if it is the root of the traversal