Package | Description |
---|---|
io.vertx.ext.sql |
Modifier and Type | Method and Description |
---|---|
ResultSet |
ResultSet.getNext()
Get the next result set
|
ResultSet |
ResultSet.setColumnNames(List<String> columnNames) |
ResultSet |
ResultSet.setNext(ResultSet next) |
ResultSet |
ResultSet.setOutput(io.vertx.core.json.JsonArray output) |
ResultSet |
ResultSet.setResults(List<io.vertx.core.json.JsonArray> results) |
Modifier and Type | Method and Description |
---|---|
static void |
ResultSetConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
ResultSet obj) |
ResultSet |
ResultSet.setNext(ResultSet next) |
static void |
ResultSetConverter.toJson(ResultSet obj,
io.vertx.core.json.JsonObject json) |
static void |
ResultSetConverter.toJson(ResultSet obj,
Map<String,Object> json) |
Modifier and Type | Method and Description |
---|---|
default SQLClient |
SQLClient.call(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> handler)
Calls the given SQL
PROCEDURE which returns the result from the procedure. |
SQLConnection |
SQLConnection.call(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> resultHandler)
Calls the given SQL
PROCEDURE which returns the result from the procedure. |
SQLOperations |
SQLOperations.call(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> resultHandler)
Calls the given SQL
PROCEDURE which returns the result from the procedure. |
default SQLClient |
SQLClient.callWithParams(String sql,
io.vertx.core.json.JsonArray params,
io.vertx.core.json.JsonArray outputs,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> handler)
Calls the given SQL
PROCEDURE which returns the result from the procedure. |
SQLConnection |
SQLConnection.callWithParams(String sql,
io.vertx.core.json.JsonArray params,
io.vertx.core.json.JsonArray outputs,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> resultHandler)
Calls the given SQL
PROCEDURE which returns the result from the procedure. |
SQLOperations |
SQLOperations.callWithParams(String sql,
io.vertx.core.json.JsonArray params,
io.vertx.core.json.JsonArray outputs,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> resultHandler)
Calls the given SQL
PROCEDURE which returns the result from the procedure. |
default SQLClient |
SQLClient.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> handler)
Execute a single SQL statement, this method acquires a connection from the the pool and executes the SQL
statement and returns it back after the execution.
|
SQLConnection |
SQLConnection.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> resultHandler)
Executes the given SQL
SELECT statement which returns the results of the query. |
SQLOperations |
SQLOperations.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> resultHandler)
Executes the given SQL
SELECT statement which returns the results of the query. |
default SQLClient |
SQLClient.queryWithParams(String sql,
io.vertx.core.json.JsonArray arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> handler)
Execute a single SQL prepared statement, this method acquires a connection from the the pool and executes the SQL
prepared statement and returns it back after the execution.
|
SQLConnection |
SQLConnection.queryWithParams(String sql,
io.vertx.core.json.JsonArray params,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> resultHandler)
Executes the given SQL
SELECT prepared statement which returns the results of the query. |
SQLOperations |
SQLOperations.queryWithParams(String sql,
io.vertx.core.json.JsonArray params,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> resultHandler)
Executes the given SQL
SELECT prepared statement which returns the results of the query. |
Constructor and Description |
---|
ResultSet(List<String> columnNames,
List<io.vertx.core.json.JsonArray> results,
ResultSet next)
Create a result-set
|
ResultSet(ResultSet other)
Copy constructor
|
Copyright © 2021 Eclipse. All rights reserved.