- Type Parameters:
T- The type managed by the
- All Known Implementing Classes:
public interface Rows<T> extends HeaderAccessor<T>, java.util.Iterator<Row<T>>A bunch of
Rowinstances is represented by a
Rowsinstance. As of efficiency reasons, a
Rowsinstance can be iterated through, returning a single
Rowwithin each iteration. This approach is making it possible to query a DB in the background and just hold the
Rowinstances being served next in the
Rowsinstance (in memory).
The way how
Rowsinstances manage their related
Rowinstances is implementation specific, a plain java implementation might use some kind of collection for storing the
Rowinstances (this can get memory intensive and not applicable when working with big data). A DB implementation might retrieve the
Rowinstances in blocks one by one, one after the other, by querying the DB accordingly (in terms of "next" result sets).