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