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 | 
|---|---|
| void | close()Close the client and release the associated resources. | 
| void | close(Handler<AsyncResult<Void>> handler)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(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)orPreparedQuery.executeBatch(java.util.List<io.vertx.reactivex.sqlclient.Tuple>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)methods must be called to execute the query. | 
| Query<RowSet<Row>> | query(String sql)Create a query, the  Query.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)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(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) method must be called to execute the query.sql - public PreparedQuery<RowSet<Row>> preparedQuery(String sql)
Query.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) or PreparedQuery.executeBatch(java.util.List<io.vertx.reactivex.sqlclient.Tuple>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)
 methods must be called to execute the query.sql - public void close(Handler<AsyncResult<Void>> handler)
handler - the completion handlerpublic void close()
public Completable rxClose()
Copyright © 2021 Eclipse. All rights reserved.