class InsertVTIResultSet extends DMLVTIResultSet
Modifier and Type | Field and Description |
---|---|
private java.sql.PreparedStatement |
ps |
private TemporaryRowHolderImpl |
rowHolder |
private java.sql.ResultSet |
rs |
private VTIResultSet |
vtiRS |
constants, firstExecute, savedSource, sourceResultSet, tc
baseRowReadMap, cachedDestinations, constantAction, heapDCOCI, indexDCOCIs, resultDescription, rowCount, streamStorableHeapColIds
activation, beginExecutionTime, beginTime, endExecutionTime, endTime, lcc
CURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST
Constructor and Description |
---|
InsertVTIResultSet(NoPutResultSet source,
NoPutResultSet vtiRS,
Activation activation) |
Modifier and Type | Method and 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.
|
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().
|
private void |
insertIntoVTI(java.sql.ResultSet target,
ExecRow row) |
protected void |
openCore() |
open
decodeLockMode, getIndexNameFromCID, getNextRowCore, getResultDescription, makeDeferredSparseRow, modifiedRowCount, normalizeRow, rememberConstraint
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
private java.sql.PreparedStatement ps
private VTIResultSet vtiRS
private java.sql.ResultSet rs
private TemporaryRowHolderImpl rowHolder
public InsertVTIResultSet(NoPutResultSet source, NoPutResultSet vtiRS, Activation activation) throws StandardException
StandardException
- Thrown on errorprotected void openCore() throws StandardException
openCore
in class DMLVTIResultSet
StandardException
- Standard Derby error policyprivate void insertIntoVTI(java.sql.ResultSet target, ExecRow row) throws StandardException
StandardException
public void cleanUp() throws StandardException
ResultSet
cleanUp
in interface ResultSet
cleanUp
in class DMLVTIResultSet
StandardException
- Thrown on errorResultSet.cleanUp()
public void close() throws StandardException
ResultSet
StandardException
- Thrown on error.public void finish() throws StandardException
ResultSet
finish
in interface ResultSet
finish
in class DMLVTIResultSet
StandardException
- on errorApache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.