| org.apache.derby.iapi.sql.execute.TargetResultSet
All known Subclasses: org.apache.derby.impl.sql.execute.InsertResultSet,
TargetResultSet | public interface TargetResultSet extends ResultSet(Code) | | 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.
author: jerry |
Method Summary | |
public void | changedRow(ExecRow execRow, RowLocation rowLocation) Pass a changed row and the row location for that row
to the target result set. | public ExecRow | preprocessSourceRow(ExecRow sourceRow) 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.
Parameters: sourceRow - The source row. |
changedRow | public void changedRow(ExecRow execRow, RowLocation rowLocation) throws StandardException(Code) | | Pass a changed row and the row location for that row
to the target result set.
Parameters: execRow - The changed row. Parameters: rowLocation - The row location of the row. exception: StandardException - thrown if cursor finished. |
preprocessSourceRow | public ExecRow preprocessSourceRow(ExecRow sourceRow) throws StandardException(Code) | | 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.
Parameters: sourceRow - The source row. The preprocessed source row. exception: StandardException - thrown if cursor finished. |
|
|