Documentation of 'org.apache.derby.iapi.sql.execute.CursorResultSet' Java class
CursorResultSet
org.apache.derby.iapi.sql.execute

Interface CursorResultSet

  • All Superinterfaces:
    ResultSet
    All Known Implementing Classes:
    HashScanResultSet, ScrollInsensitiveResultSet


    public interface CursorResultSet
    extends 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.

    • Method Detail

      • getRowLocation

        RowLocation getRowLocation()
                            throws 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.
        Returns:
        the row location of the current cursor row.
        Throws:
        StandardException - thrown on failure to get location from storage engine
      • getCurrentRow

        ExecRow getCurrentRow()
                       throws 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.

        Returns:
        the last row returned by getNextRow. null if closed.
        Throws:
        StandardException - thrown on failure.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.