public class FromSubquery extends FromTable
correlationName, origTableName, tableProperties
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
FromSubquery() |
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.
|
ValueNode |
getFetchFirst() |
ValueNode |
getOffset() |
OrderByList |
getOrderByList() |
ResultSetNode |
getSubquery()
Return the "subquery" from this node.
|
void |
init(java.lang.Object subquery,
java.lang.Object orderByList,
java.lang.Object offset,
java.lang.Object fetchFirst,
java.lang.Object correlationName,
java.lang.Object derivedRCL,
java.lang.Object tableProperties)
Intializer for a table in a FROM list.
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
getCorrelationName, getOrigTableName, getTableName, init, setCorrelationName, setOrigTableName, toString
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, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
public void init(java.lang.Object subquery, java.lang.Object orderByList, java.lang.Object offset, java.lang.Object fetchFirst, java.lang.Object correlationName, java.lang.Object derivedRCL, java.lang.Object tableProperties)
init
in class QueryTreeNode
subquery
- The subqueryorderByList
- ORDER BY list if any, or nulloffset
- OFFSET if any, or nullfetchFirst
- FETCH FIRST if any, or nullcorrelationName
- The correlation namederivedRCL
- The derived column listtableProperties
- Properties list associated with the tablepublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class FromTable
StandardException
public void printSubNodes(int depth)
printSubNodes
in class ResultSetNode
depth
- The depth of this node in the treepublic ResultSetNode getSubquery()
public java.lang.String getExposedName()
getExposedName
in class FromTable
public OrderByList getOrderByList()
public ValueNode getOffset()
public ValueNode getFetchFirst()
Copyright © 2013. All Rights Reserved.