Interface RowMapper<T>
- Type Parameters:
T- 类型
- All Known Implementing Classes:
DefaultMapRowMapper, EntityRowMapper, MapRowMapper, SingleColumnRowMapper
public sealed interface RowMapper<T>
permits EntityRowMapper<T>, MapRowMapper, SingleColumnRowMapper<T>
行转换器
- Author:
- Maning
-
Method Summary
Modifier and TypeMethodDescriptionmap(ResultSet rs, IndexMapper indexMapper, Configuration configuration) 将结果集转换实体type()类型
-
Method Details
-
map
将结果集转换实体- Parameters:
rs- 结果集indexMapper- 列下标的映射configuration- 配置- Returns:
- 实体
- Throws:
SQLException- 原生SQL异常
-
type
-