public abstract class FromTable extends ResultSetNode
FromBaseTable
,
FromSubquery
,
ProjectRestrictNode
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
correlationName |
protected TableName |
origTableName
the original unbound table name
|
protected java.util.Properties |
tableProperties |
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
FromTable() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
java.lang.String |
getCorrelationName()
Get this table's correlation name, if any.
|
java.lang.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(java.lang.Object correlationName,
java.lang.Object tableProperties)
Initializer for a table in a FROM list.
|
void |
setCorrelationName(java.lang.String correlationName)
Set this table's correlation name.
|
void |
setOrigTableName(TableName tableName)
Sets the original or unbound table name for this FromTable.
|
java.lang.String |
toString()
Convert this object to a String.
|
getResultColumns, printSubNodes, 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, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
protected java.util.Properties tableProperties
protected java.lang.String correlationName
protected TableName origTableName
public void init(java.lang.Object correlationName, java.lang.Object tableProperties)
init
in class QueryTreeNode
correlationName
- The correlation nametableProperties
- Properties list associated with the tablepublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class ResultSetNode
StandardException
public java.lang.String getCorrelationName()
public void setCorrelationName(java.lang.String correlationName)
public java.lang.String toString()
toString
in class ResultSetNode
public TableName getTableName() throws StandardException
StandardException
- Thrown on errorpublic java.lang.String getExposedName() throws StandardException
StandardException
public void setOrigTableName(TableName tableName)
tableName
- the unbound table namepublic TableName getOrigTableName()
Copyright © 2013. All Rights Reserved.