org.eigenbase.oj.stmt
Class OJPreparingStmt.JavaRelFinder
java.lang.Object
org.eigenbase.rel.RelVisitor
org.eigenbase.oj.stmt.OJPreparingStmt.JavaRelFinder
- Enclosing class:
- OJPreparingStmt
public static class OJPreparingStmt.JavaRelFinder
- extends RelVisitor
Walks a RelNode
tree and determines if it contains any JavaRel
s.
- Author:
- Zelaine Fong
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
javaRelFound
private boolean javaRelFound
OJPreparingStmt.JavaRelFinder
public OJPreparingStmt.JavaRelFinder()
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
containsJavaRel
public boolean containsJavaRel()