public class SqlClient extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<SqlClient> |
__TYPE_ARG |
Constructor and Description |
---|
SqlClient(Object delegate) |
SqlClient(SqlClient delegate) |
Modifier and Type | Method and Description |
---|---|
Completable |
close()
Close the client and release the associated resources.
|
boolean |
equals(Object o) |
SqlClient |
getDelegate() |
int |
hashCode() |
static SqlClient |
newInstance(SqlClient arg) |
PreparedQuery<RowSet<Row>> |
preparedQuery(String sql)
Create a prepared query, one of the
Query.execute() or PreparedQuery.executeBatch(java.util.List<io.vertx.rxjava3.sqlclient.Tuple>)
methods must be called to execute the query. |
PreparedQuery<RowSet<Row>> |
preparedQuery(String sql,
PrepareOptions options)
Create a prepared query, one of the
Query.execute() or PreparedQuery.executeBatch(java.util.List<io.vertx.rxjava3.sqlclient.Tuple>)
methods must be called to execute the query. |
Query<RowSet<Row>> |
query(String sql)
Create a query, the
Query.execute() method must be called to execute the query. |
Completable |
rxClose()
Close the client and release the associated resources.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<SqlClient> __TYPE_ARG
public SqlClient(SqlClient delegate)
public SqlClient(Object delegate)
public SqlClient getDelegate()
public Query<RowSet<Row>> query(String sql)
Query.execute()
method must be called to execute the query.sql
- public PreparedQuery<RowSet<Row>> preparedQuery(String sql)
Query.execute()
or PreparedQuery.executeBatch(java.util.List<io.vertx.rxjava3.sqlclient.Tuple>)
methods must be called to execute the query.sql
- public PreparedQuery<RowSet<Row>> preparedQuery(String sql, PrepareOptions options)
Query.execute()
or PreparedQuery.executeBatch(java.util.List<io.vertx.rxjava3.sqlclient.Tuple>)
methods must be called to execute the query.sql
- options
- public Completable close()
public Completable rxClose()
Copyright © 2024 Eclipse. All rights reserved.