|
||||||||||
| 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
public abstract class FromTable
A FromTable represents a table in the FROM clause of a DML statement. It can be either a base table, a subquery or a project restrict.
FromBaseTable,
FromSubquery,
ProjectRestrictNode| Field Summary | |
|---|---|
protected String |
correlationName
|
protected TableName |
origTableName
the original unbound table name |
protected Properties |
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 | |
|---|---|
FromTable()
|
|
| Method Summary | |
|---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node. |
String |
getCorrelationName()
Get this table's correlation name, if any. |
String |
getExposedName()
|
TableName |
getOrigTableName()
Gets the original or unbound table name for this FromTable. |
TableName |
getTableName()
Return a TableName node representing this FromTable. |
void |
init(Object correlationName,
Object tableProperties)
Initializer for a table in a FROM list. |
void |
setCorrelationName(String correlationName)
Set this table's correlation name. |
void |
setOrigTableName(TableName tableName)
Sets the original or unbound table name for this FromTable. |
String |
toString()
Convert this object to a String. |
| Methods inherited from class com.akiban.sql.parser.ResultSetNode |
|---|
getResultColumns, printSubNodes, 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, 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 |
| Field Detail |
|---|
protected Properties tableProperties
protected String correlationName
protected TableName origTableName
| Constructor Detail |
|---|
public FromTable()
| Method Detail |
|---|
public void init(Object correlationName,
Object tableProperties)
init in class QueryTreeNodecorrelationName - The correlation nametableProperties - Properties list associated with the table
public void copyFrom(QueryTreeNode node)
throws StandardException
copyFrom in class ResultSetNodeStandardExceptionpublic String getCorrelationName()
public void setCorrelationName(String correlationName)
public String toString()
toString in class ResultSetNode
public TableName getTableName()
throws StandardException
StandardException - Thrown on error
public String getExposedName()
throws StandardException
StandardExceptionpublic void setOrigTableName(TableName tableName)
tableName - the unbound table namepublic TableName getOrigTableName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||