com.xiaoleilu.hutool.db.handler
类 EntityHandler
java.lang.Object
com.xiaoleilu.hutool.db.handler.EntityHandler
- 所有已实现的接口:
- RsHandler<List<Entity>>
public class EntityHandler
- extends Object
- implements RsHandler<List<Entity>>
结果集处理类 ,处理出的结果为Entity列表
- 作者:
- loolly
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityHandler
public EntityHandler()
create
public static EntityHandler create()
- 创建一个 EntityHandler对象
- 返回:
- EntityHandler对象
handle
public List<Entity> handle(ResultSet rs)
throws SQLException
- 指定者:
- 接口
RsHandler<List<Entity>> 中的 handle
- 抛出:
SQLException
Copyright © 2014. All rights reserved.