Class DefaultResultSetHandler
java.lang.Object
org.apache.ibatis.executor.resultset.DefaultResultSetHandler
- All Implemented Interfaces:
ResultSetHandler
- Author:
- Clinton Begin, Eduardo Macarron, Iwao AVE!, Kazuki Shimizu
-
Constructor Summary
ConstructorDescriptionDefaultResultSetHandler
(Executor executor, MappedStatement mappedStatement, ParameterHandler parameterHandler, ResultHandler<?> resultHandler, BoundSql boundSql, RowBounds rowBounds) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
<E> Cursor<E>
void
handleResultSets
(Statement stmt) void
handleRowValues
(ResultSetWrapper rsw, ResultMap resultMap, ResultHandler<?> resultHandler, RowBounds rowBounds, ResultMapping parentMapping) resolveDiscriminatedResultMap
(ResultSet rs, ResultMap resultMap, String columnPrefix)
-
Constructor Details
-
DefaultResultSetHandler
public DefaultResultSetHandler(Executor executor, MappedStatement mappedStatement, ParameterHandler parameterHandler, ResultHandler<?> resultHandler, BoundSql boundSql, RowBounds rowBounds)
-
-
Method Details
-
handleOutputParameters
- Specified by:
handleOutputParameters
in interfaceResultSetHandler
- Throws:
SQLException
-
handleResultSets
- Specified by:
handleResultSets
in interfaceResultSetHandler
- Throws:
SQLException
-
handleCursorResultSets
- Specified by:
handleCursorResultSets
in interfaceResultSetHandler
- Throws:
SQLException
-
handleRowValues
public void handleRowValues(ResultSetWrapper rsw, ResultMap resultMap, ResultHandler<?> resultHandler, RowBounds rowBounds, ResultMapping parentMapping) throws SQLException - Throws:
SQLException
-
checkResultHandler
protected void checkResultHandler() -
resolveDiscriminatedResultMap
public ResultMap resolveDiscriminatedResultMap(ResultSet rs, ResultMap resultMap, String columnPrefix) throws SQLException - Throws:
SQLException
-