public class RowIterator extends Object implements LoopingIterator<ResultSet>
JdbcBuilder| Constructor and Description |
|---|
RowIterator(PreparedStatement ps) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close all resources
|
boolean |
hasNext()
The last checking closes all resources.
|
RowIterator |
iterator()
Method returns the same instance only
|
ResultSet |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removeforEach, spliteratorpublic RowIterator(@Nonnull PreparedStatement ps)
public RowIterator iterator()
public boolean hasNext()
throws IllegalStateException
hasNext in interface Iterator<ResultSet>IllegalStateExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright 2019-2022, Pavel Ponec