Constructor and Description |
---|
ReferencedTablesVisitor(JBitSet tableMap) |
Modifier and Type | Method and Description |
---|---|
(package private) JBitSet |
getTableMap() |
boolean |
skipChildren(Visitable node)
No need to go below a Predicate or ResultSet.
|
boolean |
stopTraversal()
Method that is called to see
if query tree traversal should be
stopped before visiting all nodes.
|
Visitable |
visit(Visitable node)
Don't do anything unless we have a ColumnReference,
Predicate or ResultSetNode node.
|
boolean |
visitChildrenFirst(Visitable node)
Method that is called to see if
visit() should be called on
the children of node before it is called on node itself. |
private JBitSet tableMap
ReferencedTablesVisitor(JBitSet tableMap)
public Visitable visit(Visitable node) throws StandardException
visit
in interface Visitor
node
- the node to processStandardException
- on errorpublic boolean skipChildren(Visitable node)
skipChildren
in interface Visitor
node
- the node to processpublic boolean visitChildrenFirst(Visitable node)
Visitor
visit()
should be called on
the children of node
before it is called on node
itself.
If this method always returns true
, the visitor will walk the
tree bottom-up. If it always returns false
, the tree is visited
top-down.visitChildrenFirst
in interface Visitor
node
- the top node of a sub-tree about to be visitedtrue
if node
's children should be visited
before node
, false
otherwisepublic boolean stopTraversal()
Visitor
stopTraversal
in interface Visitor
JBitSet getTableMap()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.