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, wait
forEachRemaining, remove
forEach, spliterator
public RowIterator(@Nonnull PreparedStatement ps)
public RowIterator iterator()
public boolean hasNext() throws IllegalStateException
hasNext
in interface Iterator<ResultSet>
IllegalStateException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright 2019-2022, Pavel Ponec