Package net.jextra.fauxjo
Class ResultSetIterator<T>
- java.lang.Object
-
- net.jextra.fauxjo.ResultSetIterator<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResultSetIterator.Builder<T>
-
Constructor Summary
Constructors Constructor Description ResultSetIterator(ResultSet resultSet, Class<T> clzz)ResultSetIterator(ResultSet resultSet, ResultSetIterator.Builder<T> builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Iterator<T>iterator()Tnext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
ResultSetIterator
public ResultSetIterator(ResultSet resultSet, ResultSetIterator.Builder<T> builder) throws SQLException
- Throws:
SQLException
-
ResultSetIterator
public ResultSetIterator(ResultSet resultSet, Class<T> clzz) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
close
public void close() throws SQLException- Throws:
SQLException
-
-