org.mule.module.db.internal.result.statement
Class StatementResultIterator
java.lang.Object
org.mule.module.db.internal.result.statement.StatementResultIterator
- All Implemented Interfaces:
- Iterator<StatementResult>
public class StatementResultIterator
- extends Object
- implements Iterator<StatementResult>
Iterates across all the StatementResult returned by a Statement execution.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_UPDATE_COUNT
public static final int NO_UPDATE_COUNT
- See Also:
- Constant Field Values
StatementResultIterator
public StatementResultIterator(DbConnection connection,
Statement statement,
QueryTemplate queryTemplate,
AutoGeneratedKeyStrategy autoGeneratedKeyStrategy,
ResultSetHandler resultSetHandler)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<StatementResult>
retrieveAutoGeneratedKeys
protected boolean retrieveAutoGeneratedKeys()
next
public StatementResult next()
- Specified by:
next in interface Iterator<StatementResult>
processOutputParam
protected StatementResult processOutputParam()
doProcessOutputParam
protected StatementResult doProcessOutputParam(OutputQueryParam outputSqlParam,
Object paramValue)
throws SQLException
- Throws:
SQLException
doProcessUpdateCount
protected StatementResult doProcessUpdateCount(String name,
int value)
doProcessResultSet
protected StatementResult doProcessResultSet(String name,
ResultSet resultSet)
throws SQLException
- Throws:
SQLException
remove
public void remove()
- Specified by:
remove in interface Iterator<StatementResult>
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.