public abstract class DMLModStatementNode extends DMLStatementNode
Modifier and Type | Field and Description |
---|---|
protected ResultColumnList |
returningColumnList |
protected TableName |
targetTableName |
protected FromVTI |
targetVTI |
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
DMLModStatementNode() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
ResultColumnList |
getReturningList() |
TableName |
getTargetTableName() |
void |
init(java.lang.Object resultSet)
Initializer for a DMLModStatementNode -- delegate to DMLStatementNode
|
void |
init(java.lang.Object resultSet,
java.lang.Object statementType)
Initializer for a DMLModStatementNode -- delegate to DMLStatementNode
|
boolean |
isAtomic()
INSERT/UPDATE/DELETE are always atomic.
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
void |
setReturningList(ResultColumnList returningColumnList) |
getResultSetNode
statementToString, toString
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
protected FromVTI targetVTI
protected TableName targetTableName
protected ResultColumnList returningColumnList
public void init(java.lang.Object resultSet)
init
in class DMLStatementNode
resultSet
- A ResultSetNode for the result set of the
DML statementpublic void init(java.lang.Object resultSet, java.lang.Object statementType)
init
in class QueryTreeNode
resultSet
- A ResultSetNode for the result set of the
DML statementstatementType
- used by nodes that allocate a DMLMod directly
(rather than inheriting it).public void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class DMLStatementNode
StandardException
public boolean isAtomic()
public TableName getTargetTableName()
public ResultColumnList getReturningList()
public void setReturningList(ResultColumnList returningColumnList)
public void printSubNodes(int depth)
printSubNodes
in class DMLStatementNode
depth
- The depth of this node in the treeCopyright © 2013. All Rights Reserved.