public class ResultSetConverterIterator<T> extends ConverterCloseableIterator<ResultSet,T>
Constructor and Description |
---|
ResultSetConverterIterator(PreparedStatement st,
Converter<ResultSet,T> converter) |
ResultSetConverterIterator(ResultSet results,
Converter<ResultSet,T> converter) |
ResultSetConverterIterator(Statement stat,
String sqlQuery,
Converter<ResultSet,T> converter) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
hasNext, next
public ResultSetConverterIterator(Statement stat, String sqlQuery, Converter<ResultSet,T> converter) throws SQLException
stat
- sqlQuery
- converter
- SQLException
public ResultSetConverterIterator(PreparedStatement st, Converter<ResultSet,T> converter) throws SQLException
SQLException
public void close()
close
in interface CloseableIterator<T>
close
in interface Closeable
close
in interface AutoCloseable
close
in class ConverterCloseableIterator<ResultSet,T>
protected void finalize() throws Throwable
finalize
in class AbstractCloseableIterator<T>
Throwable
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.