ResultSetDeleteCascadeResultSetclass DeleteResultSet extends DMLWriteResultSet
| Modifier and Type | Field | Description |
|---|---|---|
private FormatableBitSet |
baseRowReadList |
|
protected boolean |
cascadeDelete |
|
(package private) DeleteConstantAction |
constants |
|
protected ConglomerateController |
deferredBaseCC |
|
(package private) ExecRow |
deferredBaseRow |
|
(package private) ExecRow |
deferredRLRow |
|
(package private) ExecRow |
deferredSparseRow |
|
private boolean |
firstExecute |
|
private RISetChecker |
fkChecker |
|
protected FKInfo[] |
fkInfoArray |
|
(package private) int |
lockMode |
|
private boolean |
noTriggersOrFks |
|
(package private) int |
numberOfBaseColumns |
|
(package private) int |
numIndexes |
|
private int |
numOpens |
|
protected RowChanger |
rc |
|
private int |
rlColumnNumber |
|
private ExecRow |
row |
|
protected TemporaryRowHolderImpl |
rowHolder |
|
(package private) NoPutResultSet |
savedSource |
|
protected NoPutResultSet |
source |
|
private TransactionController |
tc |
|
private TriggerEventActivator |
triggerActivator |
|
private TriggerInfo |
triggerInfo |
baseRowReadMap, cachedDestinations, constantAction, heapDCOCI, indexDCOCIs, resultDescription, rowCount, streamStorableHeapColIdsactivation, beginExecutionTime, beginTime, endExecutionTime, endTime, lccCURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST| Constructor | Description |
|---|---|
DeleteResultSet(NoPutResultSet source,
Activation activation) |
|
DeleteResultSet(NoPutResultSet source,
ConstantAction passedInConstantAction,
Activation activation) |
REMIND: At present this takes just the conglomerate id
of the table.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
cleanUp() |
Tells the system to clean up on an error.
|
void |
close() |
Tells the system that there will be no more calls to getNextRow()
(until the next open() call), so it can free up the resources
associated with the ResultSet.
|
(package private) boolean |
collectAffectedRows() |
|
(package private) NoPutResultSet |
createDependentSource(RowChanger rc) |
create a source for the dependent table
|
(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() |
|
void |
open() |
Needs to be called before the result set will do anything.
|
(package private) void |
runFkChecker(boolean restrictCheckOnly) |
Make sure foreign key constraints are not violated
|
(package private) void |
setup() |
Set up the result set for use.
|
decodeLockMode, 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, toXMLprivate TransactionController tc
DeleteConstantAction constants
protected NoPutResultSet source
NoPutResultSet savedSource
int numIndexes
protected RowChanger rc
private ExecRow row
protected ConglomerateController deferredBaseCC
protected TemporaryRowHolderImpl rowHolder
private int numOpens
private boolean firstExecute
private FormatableBitSet baseRowReadList
private int rlColumnNumber
protected FKInfo[] fkInfoArray
private TriggerInfo triggerInfo
private RISetChecker fkChecker
private TriggerEventActivator triggerActivator
private boolean noTriggersOrFks
ExecRow deferredSparseRow
ExecRow deferredBaseRow
int lockMode
protected boolean cascadeDelete
ExecRow deferredRLRow
int numberOfBaseColumns
DeleteResultSet(NoPutResultSet source, Activation activation) throws StandardException
StandardExceptionDeleteResultSet(NoPutResultSet source, ConstantAction passedInConstantAction, Activation activation) throws StandardException
StandardException - Thrown on errorpublic void open()
throws StandardException
ResultSetStandardException - Standard Derby error policyvoid setup()
throws StandardException
NoRowsResultSetImplopen().setup in class NoRowsResultSetImplStandardException - thrown on errorboolean collectAffectedRows()
throws StandardException
StandardExceptionvoid fireBeforeTriggers()
throws StandardException
StandardExceptionvoid fireAfterTriggers()
throws StandardException
StandardExceptionvoid deleteDeferredRows()
throws StandardException
StandardExceptionvoid runFkChecker(boolean restrictCheckOnly)
throws StandardException
StandardExceptionNoPutResultSet createDependentSource(RowChanger rc) throws StandardException
Delete Cascade ResultSet class will override this method.
StandardException - Thrown on errorpublic void cleanUp()
throws StandardException
ResultSetStandardException - Thrown on errorResultSet.cleanUp()public void close()
throws StandardException
ResultSetStandardException - Thrown on error.public void finish()
throws StandardException
ResultSetfinish in interface ResultSetfinish in class NoRowsResultSetImplStandardException - on errorApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.