Class ResultSetWrapper
- java.lang.Object
- 
- org.apache.ibatis.executor.resultset.ResultSetWrapper
 
- 
 public class ResultSetWrapper extends Object - Author:
- Iwao AVE!
 
- 
- 
Constructor SummaryConstructors Constructor Description ResultSetWrapper(ResultSet rs, Configuration configuration)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getClassNames()List<String>getColumnNames()JdbcTypegetJdbcType(String columnName)List<JdbcType>getJdbcTypes()List<String>getMappedColumnNames(ResultMap resultMap, String columnPrefix)ResultSetgetResultSet()TypeHandler<?>getTypeHandler(Class<?> propertyType, String columnName)Gets the type handler to use when reading the result set.List<String>getUnmappedColumnNames(ResultMap resultMap, String columnPrefix)
 
- 
- 
- 
Constructor Detail- 
ResultSetWrapperpublic ResultSetWrapper(ResultSet rs, Configuration configuration) throws SQLException - Throws:
- SQLException
 
 
- 
 - 
Method Detail- 
getResultSetpublic ResultSet getResultSet() 
 - 
getTypeHandlerpublic TypeHandler<?> getTypeHandler(Class<?> propertyType, String columnName) Gets the type handler to use when reading the result set. Tries to get from the TypeHandlerRegistry by searching for the property type. If not found it gets the column JDBC type and tries to get a handler for it.- Parameters:
- propertyType- the property type
- columnName- the column name
- Returns:
- the type handler
 
 - 
getMappedColumnNamespublic List<String> getMappedColumnNames(ResultMap resultMap, String columnPrefix) throws SQLException - Throws:
- SQLException
 
 - 
getUnmappedColumnNamespublic List<String> getUnmappedColumnNames(ResultMap resultMap, String columnPrefix) throws SQLException - Throws:
- SQLException
 
 
- 
 
-