本文整理了Java中io.vertx.ext.sql.ResultSet.setNext
方法的一些代码示例,展示了ResultSet.setNext
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ResultSet.setNext
方法的具体详情如下:
包路径:io.vertx.ext.sql.ResultSet
类名称:ResultSet
方法名:setNext
暂无
代码示例来源:origin: io.vertx/vertx-sql-common
case "next":
if (member.getValue() instanceof JsonObject) {
obj.setNext(new io.vertx.ext.sql.ResultSet((JsonObject)member.getValue()));
代码示例来源:origin: io.vertx/vertx-jdbc-client
@Override
public io.vertx.ext.sql.ResultSet execute(Connection conn) throws SQLException {
try (PreparedStatement statement = conn.prepareStatement(sql)) {
// apply statement options
applyStatementOptions(statement);
helper.fillStatement(statement, in);
boolean retResult = statement.execute();
io.vertx.ext.sql.ResultSet resultSet = null;
if (retResult) {
io.vertx.ext.sql.ResultSet ref = null;
// normal return only
while (retResult) {
try (ResultSet rs = statement.getResultSet()) {
// 1st rs
if (ref == null) {
resultSet = helper.asList(rs);
ref = resultSet;
} else {
ref.setNext(helper.asList(rs));
ref = ref.getNext();
}
}
retResult = statement.getMoreResults();
}
}
return resultSet;
}
}
代码示例来源:origin: io.vertx/vertx-jdbc-client
ref = resultSet;
} else {
ref.setNext(helper.asList(rs));
ref = ref.getNext();
内容来源于网络,如有侵权,请联系作者删除!