Class ResultSetIterator
java.lang.Object
org.apache.camel.component.sql.ResultSetIterator
- All Implemented Interfaces:
Closeable, AutoCloseable, Iterator<Object>
-
Constructor Summary
ConstructorsConstructorDescriptionResultSetIterator(Connection connection, Statement statement, ResultSet resultSet, org.springframework.jdbc.core.RowMapper<?> rowMapper) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining, remove
-
Constructor Details
-
ResultSetIterator
public ResultSetIterator(Connection connection, Statement statement, ResultSet resultSet, org.springframework.jdbc.core.RowMapper<?> rowMapper) throws SQLException - Throws:
SQLException
-
-
Method Details
-
hasNext
-
next
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-