net.paoding.rose.jade.rowmapper
类 AbstractCollectionRowMapper
java.lang.Object
net.paoding.rose.jade.rowmapper.AbstractCollectionRowMapper
- 所有已实现的接口:
- org.springframework.jdbc.core.RowMapper
- 直接已知子类:
- ListRowMapper, SetRowMapper
public abstract class AbstractCollectionRowMapper
- extends Object
- implements org.springframework.jdbc.core.RowMapper
将SQL结果集的一行映射为某种集合
- 作者:
- 王志亮 [qieqie.wang@gmail.com], 廖涵 [in355hz@gmail.com]
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCollectionRowMapper
public AbstractCollectionRowMapper(StatementMetaData modifier)
mapRow
public Object mapRow(ResultSet rs,
int rowNum)
throws SQLException
- 指定者:
- 接口
org.springframework.jdbc.core.RowMapper 中的 mapRow
- 抛出:
SQLException
createCollection
protected abstract Collection createCollection(int columnSize)
- 由子类覆盖此方法,提供一个空的具体集合实现类
- 参数:
columnSize -
- 返回:
Copyright © 2012. All Rights Reserved.