org.apache.derby.impl.sql.compile
Class QueryTreeNodeVector
java.lang.Object
org.apache.derby.impl.sql.compile.QueryTreeNode
org.apache.derby.impl.sql.compile.QueryTreeNodeVector
- All Implemented Interfaces:
- Visitable
- Direct Known Subclasses:
- FromList, OrderedColumnList, PredicateList, ResultColumnList, SubqueryList, TableElementList, ValueNodeList
abstract class QueryTreeNodeVector
- extends QueryTreeNode
QueryTreeNodeVector is the root class for all lists of query tree nodes.
It provides a wrapper for java.util.Vector. All
lists of query tree nodes inherit from QueryTreeNodeVector.
Field Summary |
private java.util.Vector |
v
|
Methods inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode |
accept, bindOffsetFetch, bindRowMultiSet, bindUserType, checkReliability, checkReliability, convertDefaultNode, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, foundString, generate, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContextManager, getCursorInfo, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getNodeFactory, getNodeType, getNullNode, getParameterTypes, getRowEstimate, getSchemaDescriptor, getSchemaDescriptor, getStatementType, getTableDescriptor, getTypeCompiler, init, init, init, init, init, init, init, init, init, init, init, init, init, init, isAtomic, isInstanceOf, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeConstantAction, makeTableName, makeTableName, nodeHeader, orReliability, parseStatement, printLabel, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, stackPrint, toString, treePrint, treePrint, verifyClassExist |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
v
private java.util.Vector v
QueryTreeNodeVector
QueryTreeNodeVector()
size
public final int size()
elementAt
QueryTreeNode elementAt(int index)
addElement
final void addElement(QueryTreeNode qt)
removeElementAt
final void removeElementAt(int index)
removeElement
final void removeElement(QueryTreeNode qt)
remove
final java.lang.Object remove(int index)
indexOf
final int indexOf(QueryTreeNode qt)
setElementAt
final void setElementAt(QueryTreeNode qt,
int index)
destructiveAppend
void destructiveAppend(QueryTreeNodeVector qtnv)
nondestructiveAppend
void nondestructiveAppend(QueryTreeNodeVector qtnv)
removeAllElements
final void removeAllElements()
insertElementAt
final void insertElementAt(QueryTreeNode qt,
int index)
printSubNodes
public void printSubNodes(int depth)
- Prints the sub-nodes of this object. See QueryTreeNode.java for
how tree printing is supposed to work.
- Overrides:
printSubNodes
in class QueryTreeNode
- Parameters:
depth
- The depth to indent the sub-nodes
acceptChildren
void acceptChildren(Visitor v)
throws StandardException
- Accept the visitor for all visitable children of this node.
- Overrides:
acceptChildren
in class QueryTreeNode
- Parameters:
v
- the visitor
- Throws:
StandardException
- on error
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.