public interface ResultIterator<T> extends Iterable<T>, AutoCloseable
ObjectContext.iterate(org.apache.cayenne.query.Select, ResultIteratorCallback)
 method that handles resource management.| Modifier and Type | Method and Description | 
|---|---|
| List<T> | 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. | 
| T | 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()Goes past current row. | 
forEach, iterator, spliteratorboolean hasNextRow()
T nextRow()
void skipRow()
void close()
close in interface AutoCloseableCopyright © 2001–2023 Apache Cayenne. All rights reserved.