R - 一行数据处理后的结果类型@FunctionalInterface public interface RowHandler<R>
ResultSet.next()定位到行。| Modifier and Type | Method and Description |
|---|---|
R |
handle(ResultSet rs)
处理一行数据
|
R handle(ResultSet rs) throws SQLException
rs - ResultSet,传入前,须调用ResultSet.next()定位到行。SQLException - SQL异常Copyright © 2025. All rights reserved.