Top Description Fields Constructors Methods
org.apache.derby.impl.sql.execute

pack-priv abstract Class DMLVTIResultSet

extends DMLWriteResultSet
Class Inheritance
Known Direct Subclasses
org.apache.derby.impl.sql.execute.InsertVTIResultSet, org.apache.derby.impl.sql.execute.UpdateVTIResultSet, org.apache.derby.impl.sql.execute.DeleteVTIResultSet
Imports
org.apache.derby.shared.common.sanity.SanityManager, org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.sql.conn.LanguageConnectionContext, org.apache.derby.iapi.sql.execute.ExecRow, .NoPutResultSet, org.apache.derby.iapi.sql.Activation, .ResultDescription, org.apache.derby.iapi.store.access.TransactionController, java.sql.PreparedStatement, .ResultSet

Base class for Insert, Delete and UpdateVTIResultSet

Field Summary

Modifier and TypeField and Description
pack-priv UpdatableVTIConstantAction
pack-priv boolean
private int
pack-priv NoPutResultSet
pack-priv NoPutResultSet
pack-priv TransactionController
Inherited from org.apache.derby.impl.sql.execute.DMLWriteResultSet:
baseRowReadMapcachedDestinationsconstantActionheapDCOCIindexDCOCIsresultDescriptionrowCountstreamStorableHeapColIds

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
cleanUp()

Implements org.apache.derby.iapi.sql.ResultSet.cleanUp.

Tells the system to clean up on an error.

public void
finish()

Overrides org.apache.derby.impl.sql.execute.NoRowsResultSetImpl.finish.

Implements org.apache.derby.iapi.sql.ResultSet.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().

public void
open()

Implements org.apache.derby.iapi.sql.ResultSet.open.

Needs to be called before the result set will do anything.

protected abstract void
Inherited from org.apache.derby.impl.sql.execute.DMLWriteResultSet:
decodeLockModegetIndexNameFromCIDgetNextRowCoregetResultDescriptionmakeDeferredSparseRowmodifiedRowCountnormalizeRowrememberConstraint

Field Detail

constantsback to summary
pack-priv UpdatableVTIConstantAction constants
firstExecuteback to summary
pack-priv boolean firstExecute
numOpensback to summary
private int numOpens
savedSourceback to summary
pack-priv NoPutResultSet savedSource
sourceResultSetback to summary
pack-priv NoPutResultSet sourceResultSet
tcback to summary
pack-priv TransactionController tc

Constructor Detail

DMLVTIResultSetback to summary
pack-priv DMLVTIResultSet(NoPutResultSet source, Activation activation) throws StandardException
Exceptions
StandardException:
Thrown on error

Method Detail

cleanUpback to summary
public void cleanUp() throws StandardException

Implements org.apache.derby.iapi.sql.ResultSet.cleanUp.

Doc from org.apache.derby.iapi.sql.ResultSet.cleanUp.

Tells the system to clean up on an error.

Exceptions
StandardException:
Thrown on error
See Also
org.apache.derby.iapi.sql.ResultSet#cleanUp
finishback to summary
public void finish() throws StandardException

Overrides org.apache.derby.impl.sql.execute.NoRowsResultSetImpl.finish.

Implements org.apache.derby.iapi.sql.ResultSet.finish.

Doc from org.apache.derby.iapi.sql.ResultSet.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(). Will close the result set if it is not already closed.

Exceptions
StandardException:
on error
openback to summary
public void open() throws StandardException

Implements org.apache.derby.iapi.sql.ResultSet.open.

Doc from org.apache.derby.iapi.sql.ResultSet.open.

Needs 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.

Exceptions
StandardException:
Standard Derby error policy
openCoreback to summary
protected abstract void openCore() throws StandardException