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
CayenneException
boolean hasNextRow() throws CayenneException
CayenneException
Object nextRow() throws CayenneException
CayenneException
void skipRow() throws CayenneException
CayenneException
void close() throws CayenneException
CayenneException
Copyright © 2001–2018 Apache Cayenne. All rights reserved.