Interface ResultIterator<T>

Type Parameters:
T - the type to fetch from the ResultSet
All Superinterfaces:
AutoCloseable, Iterable<T>

public interface ResultIterator<T> extends AutoCloseable, Iterable<T>
Iterates through a ResultSet fetching instances of T. Use try with resources or remember to call close() in order to close underlying resources.