Package | Description |
---|---|
io.vertx.ext.jdbc | |
io.vertx.ext.sql | |
io.vertx.reactivex.ext.sql | |
io.vertx.rxjava.ext.sql |
Modifier and Type | Interface and Description |
---|---|
interface |
JDBCClient
An asynchronous client interface for interacting with a JDBC compliant database
|
Modifier and Type | Method and Description |
---|---|
default SQLClient |
SQLClient.call(String sql,
Handler<AsyncResult<ResultSet>> handler)
Calls the given SQL
PROCEDURE which returns the result from the procedure. |
default SQLClient |
SQLClient.callWithParams(String sql,
JsonArray params,
JsonArray outputs,
Handler<AsyncResult<ResultSet>> handler)
Calls the given SQL
PROCEDURE which returns the result from the procedure. |
SQLClient |
SQLClient.getConnection(Handler<AsyncResult<SQLConnection>> handler)
Returns a connection that can be used to perform SQL operations on.
|
default SQLClient |
SQLClient.query(String sql,
Handler<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,
Handler<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,
JsonArray params,
Handler<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,
JsonArray arguments,
Handler<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,
Handler<AsyncResult<UpdateResult>> handler)
Executes the given SQL statement which may be an
INSERT , UPDATE , or DELETE
statement. |
default SQLClient |
SQLClient.updateWithParams(String sql,
JsonArray params,
Handler<AsyncResult<UpdateResult>> handler)
Executes the given prepared statement which may be an
INSERT , UPDATE , or DELETE
statement with the given parameters |
Modifier and Type | Method and Description |
---|---|
SQLClient |
SQLClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SQLClient |
SQLClient.newInstance(SQLClient arg) |
Constructor and Description |
---|
SQLClient(SQLClient delegate) |
Modifier and Type | Method and Description |
---|---|
SQLClient |
SQLClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SQLClient |
SQLClient.newInstance(SQLClient arg) |
Constructor and Description |
---|
SQLClient(SQLClient delegate) |
Copyright © 2024 Eclipse. All rights reserved.