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) |
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 PreparedQuery<RowSet<Row>> preparedQuery(String sql, PrepareOptions options)
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
- options
- public void close(Handler<AsyncResult<Void>> handler)
handler
- the completion handlerpublic void close()
public Completable rxClose()
Copyright © 2023 Eclipse. All rights reserved.