org.mule.module.db.internal.result.resultset
Class ResultSetIterator
java.lang.Object
org.mule.module.db.internal.result.resultset.ResultSetIterator
- All Implemented Interfaces:
- Iterator<Map<String,Object>>, Closeable
public class ResultSetIterator
- extends Object
- implements Iterator<Map<String,Object>>, Closeable
Iterates a ResultSet to provide rows streaming
|
Field Summary |
protected static org.apache.commons.logging.Log |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.apache.commons.logging.Log logger
ResultSetIterator
public ResultSetIterator(DbConnection connection,
ResultSet resultSet,
RowHandler rowHandler,
StreamingResultSetCloser streamingResultSetCloser)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<Map<String,Object>>
next
public Map<String,Object> next()
- Specified by:
next in interface Iterator<Map<String,Object>>
remove
public void remove()
- Specified by:
remove in interface Iterator<Map<String,Object>>
close
public void close()
throws MuleException
- Specified by:
close in interface Closeable
- Throws:
MuleException
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.