public final class DbIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>, java.lang.Iterable<T>, java.lang.AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static interface |
DbIterator.ResultSetReader<T> |
| Constructor and Description |
|---|
DbIterator(java.sql.Connection con,
java.sql.PreparedStatement pstmt,
DbIterator.ResultSetReader<T> rsReader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
java.util.Iterator<T> |
iterator() |
T |
next() |
void |
remove() |
public DbIterator(java.sql.Connection con,
java.sql.PreparedStatement pstmt,
DbIterator.ResultSetReader<T> rsReader)