Class ResultSetWrapper
- java.lang.Object
- 
- org.apache.ibatis.executor.resultset.ResultSetWrapper
 
- 
 public class ResultSetWrapper extends java.lang.Object- Author:
- Iwao AVE!
 
- 
- 
Constructor SummaryConstructors Constructor Description ResultSetWrapper(java.sql.ResultSet rs, Configuration configuration)
 - 
Method SummaryModifier and Type Method Description java.util.List<java.lang.String>getClassNames()java.util.List<java.lang.String>getColumnNames()JdbcTypegetJdbcType(java.lang.String columnName)java.util.List<JdbcType>getJdbcTypes()java.util.List<java.lang.String>getMappedColumnNames(ResultMap resultMap, java.lang.String columnPrefix)java.sql.ResultSetgetResultSet()TypeHandler<?>getTypeHandler(java.lang.Class<?> propertyType, java.lang.String columnName)Gets the type handler to use when reading the result set.java.util.List<java.lang.String>getUnmappedColumnNames(ResultMap resultMap, java.lang.String columnPrefix)
 
- 
- 
- 
Constructor Detail- 
ResultSetWrapperpublic ResultSetWrapper(java.sql.ResultSet rs, Configuration configuration) throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 
- 
 - 
Method Detail- 
getResultSetpublic java.sql.ResultSet getResultSet() 
 - 
getColumnNamespublic java.util.List<java.lang.String> getColumnNames() 
 - 
getClassNamespublic java.util.List<java.lang.String> getClassNames() 
 - 
getJdbcTypespublic java.util.List<JdbcType> getJdbcTypes() 
 - 
getJdbcTypepublic JdbcType getJdbcType(java.lang.String columnName) 
 - 
getTypeHandlerpublic TypeHandler<?> getTypeHandler(java.lang.Class<?> propertyType, java.lang.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-
- columnName-
- Returns:
 
 - 
getMappedColumnNamespublic java.util.List<java.lang.String> getMappedColumnNames(ResultMap resultMap, java.lang.String columnPrefix) throws java.sql.SQLException - Throws:
- java.sql.SQLException
 
 - 
getUnmappedColumnNamespublic java.util.List<java.lang.String> getUnmappedColumnNames(ResultMap resultMap, java.lang.String columnPrefix) throws java.sql.SQLException - Throws:
- java.sql.SQLException
 
 
- 
 
-