class UpdateResultSet extends DMLWriteResultSet
baseRowReadMap, constantAction, heapDCOCI, indexDCOCIs, rowCount, streamStorableHeapColIdsactivation, beginExecutionTime, beginTime, endExecutionTime, endTime, lccCURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST| Constructor and Description |
|---|
UpdateResultSet(NoPutResultSet source,
GeneratedMethod generationClauses,
GeneratedMethod checkGM,
Activation activation) |
UpdateResultSet(NoPutResultSet source,
GeneratedMethod generationClauses,
GeneratedMethod checkGM,
Activation activation,
ConstantAction passedInConstantAction,
ResultDescription passedInRsd) |
UpdateResultSet(NoPutResultSet source,
GeneratedMethod generationClauses,
GeneratedMethod checkGM,
Activation activation,
int constantActionItem,
int rsdItem) |
| Modifier and Type | Method and Description |
|---|---|
private FormatableBitSet |
checkStreamCols() |
void |
cleanUp()
Tells the system to clean up on an error.
|
boolean |
collectAffectedRows() |
(package private) void |
fireAfterTriggers() |
(package private) void |
fireBeforeTriggers() |
static boolean |
foundRow(ExecRow checkRow,
int[] colsToCheck,
TemporaryRowHolderImpl rowHolder) |
ResultDescription |
getResultDescription()
Returns the description of the updated rows.
|
private void |
notifyForUpdateCursor(DataValueDescriptor[] row,
DataValueDescriptor[] newBaseRow,
RowLocation rl,
TableScanResultSet tableScan) |
private void |
objectifyStream(ExecRow tempRow,
FormatableBitSet streamCols) |
void |
open()
Needs to be called before the result set will do anything.
|
(package private) void |
rowChangerFinish() |
(package private) void |
runChecker(boolean restrictCheckOnly) |
(package private) void |
setup()
Set up the result set for use.
|
(package private) void |
updateDeferredRows() |
decodeLockMode, getIndexNameFromCID, getNextRowCore, makeDeferredSparseRow, modifiedRowCountaddWarning, checkRowPosition, clearCurrentRow, close, doesCommit, evaluateACheckConstraint, evaluateCheckConstraints, evaluateGenerationClauses, finish, getAbsoluteRow, getActivation, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCurrentTimeMillis, getCursorName, getEndExecutionTimestamp, getExecuteTime, getFirstRow, getLastRow, getNextRow, getPreviousRow, getQueryPlanText, getRelativeRow, getRowNumber, getSubqueryTrackingArray, getTimeSpent, getWarnings, isClosed, returnsRows, setAfterLastRow, setBeforeFirstRowprivate TransactionController tc
private ExecRow newBaseRow
private ExecRow row
private ExecRow deferredSparseRow
UpdateConstantAction constants
private ResultDescription resultDescription
private NoPutResultSet source
NoPutResultSet savedSource
private RowChanger rowChanger
protected ConglomerateController deferredBaseCC
protected long[] deferredUniqueCIDs
protected boolean[] deferredUniqueCreated
protected ConglomerateController[] deferredUniqueCC
protected ScanController[] deferredUniqueScans
private TemporaryRowHolderImpl deletedRowHolder
private TemporaryRowHolderImpl insertedRowHolder
private RISetChecker riChecker
private TriggerInfo triggerInfo
private TriggerEventActivator triggerActivator
private boolean updatingReferencedKey
private boolean updatingForeignKey
private int numOpens
private long heapConglom
private FKInfo[] fkInfoArray
private FormatableBitSet baseRowReadList
private GeneratedMethod generationClauses
private GeneratedMethod checkGM
private int resultWidth
private int numberOfBaseColumns
private ExecRow deferredTempRow
private ExecRow deferredBaseRow
private ExecRow oldDeletedRow
private ResultDescription triggerResultDescription
int lockMode
boolean deferred
boolean beforeUpdateCopyRequired
UpdateResultSet(NoPutResultSet source, GeneratedMethod generationClauses, GeneratedMethod checkGM, Activation activation) throws StandardException
source - update rows come from sourcegenerationClauses - Generated method for computed generation clausescheckGM - Generated method for enforcing check constraintsStandardException - thrown on errorUpdateResultSet(NoPutResultSet source, GeneratedMethod generationClauses, GeneratedMethod checkGM, Activation activation, int constantActionItem, int rsdItem) throws StandardException
source - update rows come from sourcegenerationClauses - Generated method for computed generation clausescheckGM - Generated method for enforcing check constraintsactivation - ActivationconstantActionItem - id of the update constant action saved objecrsdItem - id of the Result Description saved objectStandardException - thrown on errorUpdateResultSet(NoPutResultSet source, GeneratedMethod generationClauses, GeneratedMethod checkGM, Activation activation, ConstantAction passedInConstantAction, ResultDescription passedInRsd) throws StandardException
source - update rows come from sourcegenerationClauses - Generated method for computed generation clausescheckGM - Generated method for enforcing check constraintsStandardException - thrown on errorpublic ResultDescription getResultDescription()
getResultDescription in interface ResultSetgetResultDescription in class NoRowsResultSetImplpublic void open()
throws StandardException
ResultSetStandardException - Standard Derby error policyvoid setup()
throws StandardException
NoRowsResultSetImplopen().setup in class NoRowsResultSetImplStandardException - Standard Derby error policyprivate FormatableBitSet checkStreamCols()
private void objectifyStream(ExecRow tempRow, FormatableBitSet streamCols) throws StandardException
StandardExceptionpublic boolean collectAffectedRows()
throws StandardException
StandardExceptionprivate void notifyForUpdateCursor(DataValueDescriptor[] row, DataValueDescriptor[] newBaseRow, RowLocation rl, TableScanResultSet tableScan) throws StandardException
StandardExceptionvoid fireBeforeTriggers()
throws StandardException
StandardExceptionvoid fireAfterTriggers()
throws StandardException
StandardExceptionvoid updateDeferredRows()
throws StandardException
StandardExceptionvoid runChecker(boolean restrictCheckOnly)
throws StandardException
StandardExceptionpublic static boolean foundRow(ExecRow checkRow, int[] colsToCheck, TemporaryRowHolderImpl rowHolder) throws StandardException
StandardExceptionpublic void cleanUp()
throws StandardException
ResultSetStandardException - Thrown on errorResultSet.cleanUp()void rowChangerFinish()
throws StandardException
StandardExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.