| java.lang.Object org.apache.derby.impl.sql.execute.NoRowsResultSetImpl org.apache.derby.impl.sql.execute.DMLWriteResultSet org.apache.derby.impl.sql.execute.UpdateResultSet
UpdateResultSet | class UpdateResultSet extends DMLWriteResultSet (Code) | | Update the rows from the specified
base table. This will cause constraints to be checked
and triggers to be executed based on the c's and t's
compiled into the update plan.
author: ames |
Constructor Summary | |
| UpdateResultSet(NoPutResultSet source, GeneratedMethod checkGM, Activation activation) | | UpdateResultSet(NoPutResultSet source, GeneratedMethod checkGM, Activation activation, int constantActionItem, int rsdItem) | | UpdateResultSet(NoPutResultSet source, GeneratedMethod checkGM, Activation activation, ConstantAction passedInConstantAction, ResultDescription passedInRsd) |
beforeUpdateCopyRequired | boolean beforeUpdateCopyRequired(Code) | | |
deferred | boolean deferred(Code) | | |
deferredUniqueCIDs | protected long[] deferredUniqueCIDs(Code) | | |
deferredUniqueCreated | protected boolean[] deferredUniqueCreated(Code) | | |
UpdateResultSet | UpdateResultSet(NoPutResultSet source, GeneratedMethod checkGM, Activation activation, int constantActionItem, int rsdItem) throws StandardException(Code) | | Parameters: source - update rows come from source Parameters: checkGM - Generated method for enforcing check constraints Parameters: activation - Activation Parameters: constantActionItem - id of the update constant action saved objec Parameters: rsdItem - id of the Result Description saved object exception: StandardException - thrown on error |
decodeLockMode | protected static int decodeLockMode(LanguageConnectionContext lcc, int lockMode)(Code) | | Decode the update lock mode.
The value for update lock mode is in the 2nd 2 bytes for
ExecutionContext.SERIALIZABLE_ISOLATION_LEVEL isolation level. Otherwise
(REPEATABLE READ, READ COMMITTED, and READ UNCOMMITTED) the lock mode is
located in the first 2 bytes.
This is done to override the optimizer choice to provide maximum
concurrency of record level locking except in SERIALIZABLE where table
level locking is required in heap scans for correctness.
See Compilation!QueryTree!FromBaseTable for encoding of the lockmode.
The lock mode (record or table) to use to open the result set. Parameters: lcc - The context to look for current isolation level. Parameters: lockMode - The compiled encoded lock mode for this query. exception: StandardException - Standard exception policy. |
getResultDescription | public ResultDescription getResultDescription()(Code) | | Returns the description of the updated rows.
REVISIT: Do we want this to return NULL instead?
|
|
|