Class DMLVTIResultSet
java.lang.Object
org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
org.apache.derby.impl.sql.execute.DMLWriteResultSet
org.apache.derby.impl.sql.execute.DMLVTIResultSet
- All Implemented Interfaces:
ResultSet
- Direct Known Subclasses:
DeleteVTIResultSet, InsertVTIResultSet, UpdateVTIResultSet
Base class for Insert, Delete and UpdateVTIResultSet
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) UpdatableVTIConstantAction(package private) booleanprivate int(package private) NoPutResultSet(package private) NoPutResultSet(package private) TransactionControllerFields inherited from class DMLWriteResultSet
baseRowReadMap, cachedDestinations, constantAction, heapDCOCI, indexDCOCIs, resultDescription, rowCount, streamStorableHeapColIdsFields inherited from class NoRowsResultSetImpl
activation, beginExecutionTime, beginTime, endExecutionTime, endTime, lccFields inherited from interface ResultSet
CURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanUp()Tells the system to clean up on an error.voidfinish()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().voidopen()Needs to be called before the result set will do anything.protected abstract voidopenCore()Methods inherited from class DMLWriteResultSet
decodeLockMode, getIndexNameFromCID, getNextRowCore, getResultDescription, makeDeferredSparseRow, modifiedRowCount, normalizeRow, rememberConstraintMethods inherited from class NoRowsResultSetImpl
addWarning, 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, setup, toXML
-
Field Details
-
sourceResultSet
NoPutResultSet sourceResultSet -
savedSource
NoPutResultSet savedSource -
constants
UpdatableVTIConstantAction constants -
tc
-
numOpens
private int numOpens -
firstExecute
boolean firstExecute
-
-
Constructor Details
-
DMLVTIResultSet
DMLVTIResultSet(NoPutResultSet source, Activation activation) throws StandardException - Throws:
StandardException- Thrown on error
-
-
Method Details
-
open
Description copied from interface:ResultSetNeeds to be called before the result set will do anything. Need to call before getNextRow(), or for a result set that doesn't return rows, this is the call that will cause all the work to be done.- Throws:
StandardException- Standard Derby error policy
-
openCore
- Throws:
StandardException
-
cleanUp
Description copied from interface:ResultSetTells the system to clean up on an error.- Throws:
StandardException- Thrown on error- See Also:
-
finish
Description copied from interface:ResultSetTells the system that there will be no more access to any database information via this result set; in particular, no more calls to open(). Will close the result set if it is not already closed.- Specified by:
finishin interfaceResultSet- Overrides:
finishin classNoRowsResultSetImpl- Throws:
StandardException- on error
-