correlationName, origTableName, tablePropertiesAUTOINCREMENT_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.
|
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(Object invocation,
Object correlationName,
Object derivedRCL,
Object tableProperties)
Initialize a query tree node.
|
void |
init(Object invocation,
Object correlationName,
Object derivedRCL,
Object tableProperties,
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(String name,
boolean baseTable)
Search to see if a query references the specifed table name.
|
String |
toString()
Convert this object to a String.
|
getCorrelationName, getOrigTableName, getTableName, init, setCorrelationName, setOrigTableNamegetResultColumns, setInsertSource, setResultColumnsaccept, 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, treePrintpublic void init(Object invocation, Object correlationName, Object derivedRCL, Object tableProperties) throws StandardException
QueryTreeNodeinit in class QueryTreeNodeinvocation - 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(Object invocation, Object correlationName, Object derivedRCL, Object tableProperties, Object exposedTableName) throws StandardException
QueryTreeNodeinit in class QueryTreeNodeinvocation - 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 FromTableStandardExceptionpublic String toString()
public void printSubNodes(int depth)
printSubNodes in class ResultSetNodedepth - The depth of this node in the treepublic boolean isConstructor()
public MethodCallNode getMethodCall()
public String getExposedName()
getExposedName in class FromTablepublic TableName getExposedTableName()
public boolean referencesTarget(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 © 2015 FoundationDB, LLC. All rights reserved.