org.mule.module.db.internal.result.statement
Class AbstractMapStatementResultHandler
java.lang.Object
org.mule.module.db.internal.result.statement.AbstractMapStatementResultHandler
- All Implemented Interfaces:
- StatementResultHandler
- Direct Known Subclasses:
- EagerStatementResultHandler, StreamingStatementResultHandler
public abstract class AbstractMapStatementResultHandler
- extends Object
- implements StatementResultHandler
Processes Statement results creating a map containing them.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMapStatementResultHandler
public AbstractMapStatementResultHandler(ResultSetHandler resultSetHandler)
processStatement
public Object processStatement(DbConnection connection,
Statement statement,
QueryTemplate queryTemplate,
AutoGeneratedKeyStrategy autoGeneratedKeyStrategy)
throws SQLException
- Description copied from interface:
StatementResultHandler
- Processes the results from a statement execution
- Specified by:
processStatement in interface StatementResultHandler
- Parameters:
connection - connection used to execute the statement. Non nullstatement - executed statement. Non nullqueryTemplate - executed query template. Non nullautoGeneratedKeyStrategy - strategy used to process auto generated keys. Non null
- Returns:
- a non null the results of the statement execution
- Throws:
SQLException
createResultMap
protected abstract Map<String,Object> createResultMap()
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.