public class StringRowHandler extends Object implements RowHandler<String>
ResultSet
结果中的某行处理为数组Constructor and Description |
---|
StringRowHandler(ResultSetMetaData meta,
String delimiter)
构造
|
public StringRowHandler(ResultSetMetaData meta, String delimiter) throws SQLException
meta
- ResultSetMetaData
delimiter
- 分隔符SQLException
- SQL异常public String handle(ResultSet rs) throws SQLException
RowHandler
handle
in interface RowHandler<String>
rs
- ResultSet
,传入前,须调用ResultSet.next()
定位到行。SQLException
- SQL异常Copyright © 2025. All rights reserved.