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. |
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. |
SQLClient |
SQLClient.getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<SQLConnection>> handler)
Returns a connection that can be used to perform SQL operations on.
|
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.
|
default SQLClient |
SQLClient.queryStream(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SQLRowStream>> handler)
Executes the given SQL
SELECT statement which returns the results of the query as a read stream. |
default SQLClient |
SQLClient.queryStreamWithParams(String sql,
io.vertx.core.json.JsonArray params,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SQLRowStream>> handler)
Executes the given SQL
SELECT statement which returns the results of the query as a read stream. |
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.
|
default SQLClient |
SQLClient.update(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<UpdateResult>> handler)
Executes the given SQL statement which may be an
INSERT , UPDATE , or DELETE
statement. |
default SQLClient |
SQLClient.updateWithParams(String sql,
io.vertx.core.json.JsonArray params,
io.vertx.core.Handler<io.vertx.core.AsyncResult<UpdateResult>> handler)
Executes the given prepared statement which may be an
INSERT , UPDATE , or DELETE
statement with the given parameters |
Copyright © 2019 Eclipse. All rights reserved.