public class NumberHandler extends Object implements RsHandler<Number>
Constructor and Description |
---|
NumberHandler() |
Modifier and Type | Method and Description |
---|---|
static NumberHandler |
create()
创建一个 NumberHandler对象
|
Number |
handle(ResultSet rs)
处理结果集
结果集处理后不需要关闭 |
public static NumberHandler create()
public Number handle(ResultSet rs) throws SQLException
RsHandler
handle
in interface RsHandler<Number>
rs
- 结果集SQLException
- SQL异常Copyright © 2024. All rights reserved.