Class UpdateVTIResultSet
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
-
- org.apache.derby.impl.sql.execute.DMLWriteResultSet
-
- org.apache.derby.impl.sql.execute.DMLVTIResultSet
-
- org.apache.derby.impl.sql.execute.UpdateVTIResultSet
-
- All Implemented Interfaces:
ResultSet
class UpdateVTIResultSet extends DMLVTIResultSet
Update the rows from the source into the specified base table.
-
-
Field Summary
Fields Modifier and Type Field Description private TemporaryRowHolderImpl
rowHolder
private java.sql.ResultSet
rs
-
Fields inherited from class org.apache.derby.impl.sql.execute.DMLVTIResultSet
constants, firstExecute, savedSource, sourceResultSet, tc
-
Fields inherited from class org.apache.derby.impl.sql.execute.DMLWriteResultSet
baseRowReadMap, cachedDestinations, constantAction, heapDCOCI, indexDCOCIs, resultDescription, rowCount, streamStorableHeapColIds
-
Fields inherited from class org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
activation, beginExecutionTime, beginTime, endExecutionTime, endTime, lcc
-
Fields inherited from interface org.apache.derby.iapi.sql.ResultSet
CURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST
-
-
Constructor Summary
Constructors Constructor Description UpdateVTIResultSet(NoPutResultSet source, Activation activation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.protected void
openCore()
private void
updateVTI(java.sql.ResultSet target, ExecRow row)
-
Methods inherited from class org.apache.derby.impl.sql.execute.DMLVTIResultSet
cleanUp, finish, open
-
Methods inherited from class org.apache.derby.impl.sql.execute.DMLWriteResultSet
decodeLockMode, getIndexNameFromCID, getNextRowCore, getResultDescription, makeDeferredSparseRow, modifiedRowCount, normalizeRow, rememberConstraint
-
Methods inherited from class org.apache.derby.impl.sql.execute.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 Detail
-
rs
private java.sql.ResultSet rs
-
rowHolder
private TemporaryRowHolderImpl rowHolder
-
-
Constructor Detail
-
UpdateVTIResultSet
public UpdateVTIResultSet(NoPutResultSet source, Activation activation) throws StandardException
- Throws:
StandardException
- Thrown on error
-
-
Method Detail
-
openCore
protected void openCore() throws StandardException
- Specified by:
openCore
in classDMLVTIResultSet
- Throws:
StandardException
- Standard Derby error policy
-
close
public void close() throws StandardException
Description copied from interface:ResultSet
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.- Throws:
StandardException
- Thrown on error.
-
updateVTI
private void updateVTI(java.sql.ResultSet target, ExecRow row) throws StandardException
- Throws:
StandardException
-
-