Interface OracleCursor
-
- All Superinterfaces:
AutoCloseable
,Closeable
public interface OracleCursor extends Closeable
Operation result cursor. Returned byOracleOperationBuilder.getCursor()
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasNext()
Returnstrue
if the nextOracleDocument
is available.OracleDocument
next()
Returns the nextOracleDocument
.
-
-
-
Method Detail
-
next
OracleDocument next() throws OracleException
Returns the nextOracleDocument
.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 thisOracleException
.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
Returnstrue
if the nextOracleDocument
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 thisOracleException
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
-
-