public final class RowIterator extends ImmutableIterator<java.lang.Object[]> implements java.io.Closeable
Constructor and Description |
---|
RowIterator(java.sql.ResultSet rs,
boolean closeStatement,
boolean closeConnection) |
RowIterator(java.sql.ResultSet rs,
long offset,
long count,
boolean closeStatement,
boolean closeConnection) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getColumnCount() |
java.util.List<java.lang.String> |
getColumnLabelList() |
boolean |
hasNext() |
java.lang.Object[] |
next() |
void |
skip(int n) |
void |
skip(long n) |
empty, of, remove, toCollection, toMap, toMap, toMap, toSet
public RowIterator(java.sql.ResultSet rs, boolean closeStatement, boolean closeConnection) throws java.lang.IllegalArgumentException, UncheckedSQLException
java.lang.IllegalArgumentException
UncheckedSQLException
public RowIterator(java.sql.ResultSet rs, long offset, long count, boolean closeStatement, boolean closeConnection) throws java.lang.IllegalArgumentException, UncheckedSQLException
java.lang.IllegalArgumentException
UncheckedSQLException
public int getColumnCount()
public java.util.List<java.lang.String> getColumnLabelList() throws UncheckedSQLException
UncheckedSQLException
public boolean hasNext() throws UncheckedSQLException
hasNext
in interface java.util.Iterator<java.lang.Object[]>
UncheckedSQLException
public void skip(int n) throws UncheckedSQLException
UncheckedSQLException
public void skip(long n) throws UncheckedSQLException
UncheckedSQLException
public java.lang.Object[] next() throws UncheckedSQLException
next
in interface java.util.Iterator<java.lang.Object[]>
UncheckedSQLException
public void close() throws UncheckedSQLException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
UncheckedSQLException