Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.sql.execute
Interface TargetResultSet  view TargetResultSet download TargetResultSet.java

All Superinterfaces:
org.apache.derby.iapi.sql.ResultSet

public interface TargetResultSet
extends org.apache.derby.iapi.sql.ResultSet

The TargetResultSet interface is used to provide additional operations on result sets that are the target of a bulk insert or update. This is useful because bulk insert is upside down - the insert is done via the store.


Field Summary
 
Fields inherited from interface org.apache.derby.iapi.sql.ResultSet
CURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST
 
Method Summary
 void changedRow(ExecRow execRow, org.apache.derby.iapi.types.RowLocation rowLocation)
          Pass a changed row and the row location for that row to the target result set.
 ExecRow preprocessSourceRow(ExecRow sourceRow)
          Preprocess the source row prior to getting it back from the source.
 
Methods inherited from interface org.apache.derby.iapi.sql.ResultSet
checkRowPosition, cleanUp, close, finish, getAbsoluteRow, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCursorName, getEndExecutionTimestamp, getExecuteTime, getFirstRow, getLastRow, getNextRow, getPreviousRow, getRelativeRow, getResultDescription, getRowNumber, getSubqueryTrackingArray, getTimeSpent, getWarnings, isClosed, modifiedRowCount, open, returnsRows, setAfterLastRow, setBeforeFirstRow
 

Method Detail

changedRow

public void changedRow(ExecRow execRow,
                       org.apache.derby.iapi.types.RowLocation rowLocation)
                throws org.apache.derby.iapi.error.StandardException
Pass a changed row and the row location for that row to the target result set.


preprocessSourceRow

public ExecRow preprocessSourceRow(ExecRow sourceRow)
                            throws org.apache.derby.iapi.error.StandardException
Preprocess the source row prior to getting it back from the source. This is useful for bulk insert where the store stands between the target and the source.