public interface OracleCursor
extends java.io.Closeable
OracleOperationBuilder.getCursor()
method.Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns
true if the next OracleDocument
is available. |
OracleDocument |
next()
Returns the next
OracleDocument . |
OracleDocument next() throws OracleException
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.
OracleDocument
OracleException
- might wrap another exception set as a
causeboolean hasNext() throws OracleException
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.
OracleDocument
OracleException
- might wrap another exception set as a
cause