public abstract class AbstractRowMapper<T> extends Object implements RowMapper<T>
| 构造器和说明 |
|---|
AbstractRowMapper() |
AbstractRowMapper(TypeHandlerRegistry typeHandler) |
| 限定符和类型 | 方法和说明 |
|---|---|
TypeHandlerRegistry |
getHandlerRegistry() |
TypeHandler<?> |
getResultSetTypeHandler(ResultSet rs,
int columnIndex,
Class<?> targetType)
获取读取列用到 的 TypeHandler列的值
|
protected Object |
getResultSetValue(ResultSet rs,
int columnIndex)
获取列的值
|
protected Object |
getResultSetValue(ResultSet rs,
int columnIndex,
Class<?> targetType)
获取列的值
|
public AbstractRowMapper()
public AbstractRowMapper(TypeHandlerRegistry typeHandler)
public TypeHandlerRegistry getHandlerRegistry()
protected Object getResultSetValue(ResultSet rs, int columnIndex) throws SQLException
SQLExceptionprotected Object getResultSetValue(ResultSet rs, int columnIndex, Class<?> targetType) throws SQLException
SQLExceptionpublic TypeHandler<?> getResultSetTypeHandler(ResultSet rs, int columnIndex, Class<?> targetType) throws SQLException
SQLExceptionCopyright © 2020–2021. All rights reserved.