- All Superinterfaces:
- org.apache.derby.iapi.sql.ResultSet
- public interface CursorResultSet
- extends org.apache.derby.iapi.sql.ResultSet
The CursorResultSet interface is used to provide additional
operations on result sets that can be used in cursors.
Since the ResulSet operations must also be supported by
cursor result sets, we extend that interface here as well.
| 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 |
getRowLocation
public org.apache.derby.iapi.types.RowLocation getRowLocation()
throws org.apache.derby.iapi.error.StandardException
- Returns the row location of the current base table row of the cursor.
If this cursor's row is composed of multiple base tables' rows,
i.e. due to a join, then a null is returned.
getCurrentRow
public ExecRow getCurrentRow()
throws org.apache.derby.iapi.error.StandardException
- Returns the current row of the result set.
REMIND: eventually, this will only return the current row
for result sets that need to return it; either some field
in the activation or a parameter in the constructor will be
used to signal that this needs to function. This will let us
limit the number of live objects we are holding on to.