Class RowHandlerCallback
java.lang.Object
com.ibatis.sqlmap.engine.mapping.statement.RowHandlerCallback
Class to manager row handler access.
-
Constructor Summary
ConstructorsConstructorDescriptionRowHandlerCallback
(ResultMap resultMap, Object resultObject, RowHandler rowHandler) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the row handler.void
handleResultObject
(StatementScope statementScope, Object[] results, ResultSet rs) Prepares the row object, and passes it to the row handler.
-
Constructor Details
-
RowHandlerCallback
Constructor.- Parameters:
resultMap
- - the result mapresultObject
- - the result objectrowHandler
- - the row handler object
-
-
Method Details
-
handleResultObject
public void handleResultObject(StatementScope statementScope, Object[] results, ResultSet rs) throws SQLException Prepares the row object, and passes it to the row handler.- Parameters:
statementScope
- - the request scoperesults
- - the result datars
- the rs- Throws:
SQLException
- the SQL exception
-
getRowHandler
Gets the row handler.- Returns:
- the row handler
-