correlationName, origTableName, tableProperties
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
FromVTI() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
java.lang.String |
getExposedName()
Get the exposed name for this table, which is the name that can
be used to refer to it in the rest of the query.
|
TableName |
getExposedTableName() |
MethodCallNode |
getMethodCall()
Return the constructor or static method invoked from this node
|
void |
init(java.lang.Object invocation,
java.lang.Object correlationName,
java.lang.Object derivedRCL,
java.lang.Object tableProperties)
Initialize a query tree node.
|
void |
init(java.lang.Object invocation,
java.lang.Object correlationName,
java.lang.Object derivedRCL,
java.lang.Object tableProperties,
java.lang.Object exposedTableName)
Initialize a query tree node.
|
boolean |
isConstructor()
Return true if this VTI is a constructor.
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
boolean |
referencesTarget(java.lang.String name,
boolean baseTable)
Search to see if a query references the specifed table name.
|
java.lang.String |
toString()
Convert this object to a String.
|
getCorrelationName, getOrigTableName, getTableName, init, setCorrelationName, setOrigTableName
getResultColumns, setInsertSource, setResultColumns
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
public void init(java.lang.Object invocation, java.lang.Object correlationName, java.lang.Object derivedRCL, java.lang.Object tableProperties) throws StandardException
QueryTreeNode
init
in class QueryTreeNode
invocation
- The constructor or static method for the VTIcorrelationName
- The correlation namederivedRCL
- The derived column listtableProperties
- Properties list associated with the tableStandardException
- Thrown on errorpublic void init(java.lang.Object invocation, java.lang.Object correlationName, java.lang.Object derivedRCL, java.lang.Object tableProperties, java.lang.Object exposedTableName) throws StandardException
QueryTreeNode
init
in class QueryTreeNode
invocation
- The constructor or static method for the VTIcorrelationName
- The correlation namederivedRCL
- The derived column listtableProperties
- Properties list associated with the tableexposedTableName
- The table name (TableName class)StandardException
- Thrown on errorpublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class FromTable
StandardException
public java.lang.String toString()
public void printSubNodes(int depth)
printSubNodes
in class ResultSetNode
depth
- The depth of this node in the treepublic boolean isConstructor()
public MethodCallNode getMethodCall()
public java.lang.String getExposedName()
getExposedName
in class FromTable
public TableName getExposedTableName()
public boolean referencesTarget(java.lang.String name, boolean baseTable) throws StandardException
name
- Table name (String) to search for.baseTable
- Whether or not name is for a base tableStandardException
- Thrown on errorCopyright © 2013. All Rights Reserved.