Package oracle.soda

Interface OracleCursor

    • Method Detail

      • next

        OracleDocument next()
                     throws OracleException
        Returns the next OracleDocument.

        Note: any underlying exception (e.g. SQLException if this API is implemented on top of an RDBMS), might be available in the chain of causes of this OracleException.

        For the Oracle RDBMS implementation of SODA, the current limit for the maximum size of document that can be read is 2GB. An exception will be thrown by this method if the next document's size exceeds this limit.

        Returns:
        the next OracleDocument
        Throws:
        OracleException - might wrap another exception set as a cause
      • hasNext

        boolean hasNext()
                 throws OracleException
        Returns true if the next OracleDocument is available.

        Note: any underlying exception (e.g. SQLException if this API is implemented on top of an RDBMS), might be available in the chain of causes of this OracleException

        For the Oracle RDBMS implementation of SODA, the current limit for the maximum size of document that can be read is 2GB. An exception will be thrown by this method if the next document's size exceeds this limit.

        Returns:
        the next OracleDocument
        Throws:
        OracleException - might wrap another exception set as a cause