public interface ResultIterator
Result "rows", depending on the query, may be represented as scalar values, DataRows, or Object[] arrays containing a mix of scalars and DataRows.
| Modifier and Type | Method and Description |
|---|---|
List<?> |
allRows()
Returns all yet unread rows from ResultSet without closing it.
|
void |
close()
Closes ResultIterator and associated ResultSet.
|
boolean |
hasNextRow()
Returns true if there is at least one more record that can be read from the
iterator.
|
Object |
nextRow()
Returns the next result row that is, depending on the query, may be a scalar value,
a DataRow, or an Object[] array containing a mix of scalars and DataRows.
|
void |
skipRow() |
List<?> allRows() throws CayenneException
CayenneExceptionboolean hasNextRow()
throws CayenneException
CayenneExceptionObject nextRow() throws CayenneException
CayenneExceptionvoid skipRow()
throws CayenneException
CayenneExceptionvoid close()
throws CayenneException
CayenneExceptionCopyright © 2001–2018 Apache Cayenne. All rights reserved.