Class RelValidityChecker

java.lang.Object
org.apache.calcite.rel.RelVisitor
org.apache.calcite.rel.RelValidityChecker
All Implemented Interfaces:
RelNode.Context

public class RelValidityChecker extends RelVisitor implements RelNode.Context
Visitor that checks that every RelNode in a tree is valid.
See Also:
  • Constructor Details

    • RelValidityChecker

      public RelValidityChecker()
  • Method Details

    • correlationIds

      public Set<CorrelationId> correlationIds()
      Specified by:
      correlationIds in interface RelNode.Context
    • visit

      public void visit(RelNode node, int ordinal, @Nullable RelNode parent)
      Description copied from class: RelVisitor
      Visits a node during a traversal.
      Overrides:
      visit in class RelVisitor
      Parameters:
      node - 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
    • invalidCount

      public int invalidCount()