ResultSetclass DeleteCascadeResultSet extends DeleteResultSet
| Modifier and Type | Field | Description |
|---|---|---|
private boolean |
affectedRows |
|
(package private) ResultSet[] |
dependentResultSets |
|
private boolean |
mainNodeForTable |
|
private int |
noDependents |
|
private java.lang.String |
resultSetId |
|
private int |
tempRowHolderId |
cascadeDelete, constants, deferredBaseCC, deferredBaseRow, deferredRLRow, deferredSparseRow, fkInfoArray, lockMode, numberOfBaseColumns, numIndexes, rc, rowHolder, savedSource, sourcebaseRowReadMap, cachedDestinations, constantAction, heapDCOCI, indexDCOCIs, resultDescription, rowCount, streamStorableHeapColIdsactivation, beginExecutionTime, beginTime, endExecutionTime, endTime, lccCURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST| Constructor | Description |
|---|---|
DeleteCascadeResultSet(NoPutResultSet source,
Activation activation,
int constantActionItem,
ResultSet[] dependentResultSets,
java.lang.String resultSetId) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
cleanUp() |
Tells the system to clean up on an error.
|
(package private) boolean |
collectAffectedRows(boolean rowsFound) |
|
(package private) void |
deleteDeferredRows() |
|
void |
finish() |
Tells the system that there will be no more access
to any database information via this result set;
in particular, no more calls to open().
|
(package private) void |
fireAfterTriggers() |
|
(package private) void |
fireBeforeTriggers(java.util.HashMap<java.lang.String,java.lang.String> msht) |
|
private boolean |
isMultipleDeletePathsExist() |
|
private void |
mergeResultSets() |
|
private void |
mergeRowHolders(java.util.HashMap<java.lang.String,java.lang.String> msht) |
|
void |
open() |
Needs to be called before the result set will do anything.
|
private void |
rowChangerFinish() |
|
(package private) void |
runFkChecker(boolean restrictCheckOnly) |
Make sure foreign key constraints are not violated
|
private void |
setRowHoldersTypeToUniqueStream() |
|
(package private) void |
setup() |
Gathers the rows that needs to be deleted/updated
and creates a temporary resulsets that will be passed
as source to its dependent result sets.
|
close, collectAffectedRows, createDependentSource, fireBeforeTriggersdecodeLockMode, getIndexNameFromCID, getNextRowCore, getResultDescription, makeDeferredSparseRow, modifiedRowCount, normalizeRow, rememberConstraintaddWarning, checkRowPosition, clearCurrentRow, close, doesCommit, evaluateGenerationClauses, getAbsoluteRow, getActivation, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCurrentTimeMillis, getCursorName, getEndExecutionTimestamp, getExecuteTime, getFirstRow, getLastRow, getNextRow, getPreviousRow, getQueryPlanText, getRelativeRow, getRowNumber, getSubqueryTrackingArray, getTimeSpent, getWarnings, isClosed, returnsRows, setAfterLastRow, setBeforeFirstRow, toXMLResultSet[] dependentResultSets
private int noDependents
private final java.lang.String resultSetId
private boolean mainNodeForTable
private boolean affectedRows
private int tempRowHolderId
public DeleteCascadeResultSet(NoPutResultSet source, Activation activation, int constantActionItem, ResultSet[] dependentResultSets, java.lang.String resultSetId) throws StandardException
StandardExceptionpublic void open()
throws StandardException
ResultSetopen in interface ResultSetopen in class DeleteResultSetStandardException - Standard Derby error policyvoid setup()
throws StandardException
setup in class DeleteResultSetStandardException - thrown on errorboolean collectAffectedRows(boolean rowsFound)
throws StandardException
StandardExceptionvoid fireBeforeTriggers(java.util.HashMap<java.lang.String,java.lang.String> msht)
throws StandardException
StandardExceptionvoid fireAfterTriggers()
throws StandardException
fireAfterTriggers in class DeleteResultSetStandardExceptionvoid deleteDeferredRows()
throws StandardException
deleteDeferredRows in class DeleteResultSetStandardExceptionvoid runFkChecker(boolean restrictCheckOnly)
throws StandardException
DeleteResultSetrunFkChecker in class DeleteResultSetStandardExceptionpublic void cleanUp()
throws StandardException
ResultSetcleanUp in interface ResultSetcleanUp in class DeleteResultSetStandardException - Thrown on errorResultSet.cleanUp()private void rowChangerFinish()
throws StandardException
StandardExceptionprivate void mergeRowHolders(java.util.HashMap<java.lang.String,java.lang.String> msht)
throws StandardException
StandardExceptionprivate void mergeResultSets()
throws StandardException
StandardExceptionpublic void finish()
throws StandardException
ResultSetfinish in interface ResultSetfinish in class DeleteResultSetStandardException - on errorprivate boolean isMultipleDeletePathsExist()
private void setRowHoldersTypeToUniqueStream()
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.