org.eigenbase.test
Class SqlToRelConverterTest.RelValidityChecker
java.lang.Object
org.eigenbase.rel.RelVisitor
org.eigenbase.test.SqlToRelConverterTest.RelValidityChecker
- Enclosing class:
- SqlToRelConverterTest
public static class SqlToRelConverterTest.RelValidityChecker
- extends RelVisitor
Visitor that checks that every RelNode
in a tree is valid.
- See Also:
RelNode.isValid(boolean)
Method Summary |
void |
visit(RelNode node,
int ordinal,
RelNode parent)
Visits a node during a traversal. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
invalidCount
int invalidCount
SqlToRelConverterTest.RelValidityChecker
public SqlToRelConverterTest.RelValidityChecker()
visit
public void visit(RelNode node,
int ordinal,
RelNode parent)
- Description copied from class:
RelVisitor
- Visits a node during a traversal.
- Overrides:
visit
in class RelVisitor
- Parameters:
node
- Node to visitordinal
- Ordinal of node within its parentparent
- Parent of the node, or null if it is the root of the
traversal