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 booleanhasNext()Returnstrueif the nextOracleDocumentis available.OracleDocumentnext()Returns the nextOracleDocument.
-
-
-
Method Detail
-
next
OracleDocument next() throws OracleException
Returns the nextOracleDocument.Note: any underlying exception (e.g.
SQLExceptionif 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 OracleExceptionReturnstrueif the nextOracleDocumentis available.Note: any underlying exception (e.g.
SQLExceptionif this API is implemented on top of an RDBMS), might be available in the chain of causes of thisOracleExceptionFor 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
-
-