|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.ResultSetNode
com.akiban.sql.parser.FromTable
com.akiban.sql.parser.FromVTI
public class FromVTI
A FromVTI represents a VTI in the FROM list of a DML statement.
| Field Summary |
|---|
| Fields inherited from class com.akiban.sql.parser.FromTable |
|---|
correlationName, origTableName, tableProperties |
| Fields inherited from class com.akiban.sql.parser.QueryTreeNode |
|---|
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX |
| Constructor Summary | |
|---|---|
FromVTI()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.akiban.sql.parser.FromTable |
|---|
getCorrelationName, getOrigTableName, getTableName, init, setCorrelationName, setOrigTableName |
| Methods inherited from class com.akiban.sql.parser.ResultSetNode |
|---|
getResultColumns, setInsertSource, setResultColumns |
| Methods inherited from class com.akiban.sql.parser.QueryTreeNode |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FromVTI()
| Method Detail |
|---|
public void init(Object invocation,
Object correlationName,
Object derivedRCL,
Object tableProperties)
throws StandardException
QueryTreeNode
init in class QueryTreeNodeinvocation - The constructor or static method for the VTIcorrelationName - The correlation namederivedRCL - The derived column listtableProperties - Properties list associated with the table
StandardException - Thrown on error
public void init(Object invocation,
Object correlationName,
Object derivedRCL,
Object tableProperties,
Object exposedTableName)
throws StandardException
QueryTreeNode
init 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 error
public void copyFrom(QueryTreeNode node)
throws StandardException
copyFrom in class FromTableStandardExceptionpublic String toString()
toString in class FromTablepublic 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 table
StandardException - Thrown on error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||