net.hasor.db.jdbc.core.mapper
类 AbstractRowMapper<T>

java.lang.Object
  继承者 net.hasor.db.jdbc.core.mapper.AbstractRowMapper<T>
所有已实现的接口:
RowMapper<T>
直接已知子类:
BeanPropertyRowMapper, ColumnMapRowMapper, SingleColumnRowMapper

public abstract class AbstractRowMapper<T>
extends Object
implements RowMapper<T>

版本:
: 2014年5月23日

构造方法摘要
AbstractRowMapper()
           
 
方法摘要
protected static Object convertValueToRequiredType(Object value, Class<?> requiredType)
          转换为单值的类型
protected static Object getResultSetValue(ResultSet rs, int index)
          获取列的值
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 net.hasor.db.jdbc.RowMapper 继承的方法
mapRow
 

构造方法详细信息

AbstractRowMapper

public AbstractRowMapper()
方法详细信息

getResultSetValue

protected static Object getResultSetValue(ResultSet rs,
                                          int index)
                                   throws SQLException
获取列的值

抛出:
SQLException

convertValueToRequiredType

protected static Object convertValueToRequiredType(Object value,
                                                   Class<?> requiredType)
转换为单值的类型



Copyright © 2014. All rights reserved.