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(io.vertx.sqlclient.SqlClient delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the client and release the associated resources.
|
boolean |
equals(Object o) |
io.vertx.sqlclient.SqlClient |
getDelegate() |
int |
hashCode() |
static SqlClient |
newInstance(io.vertx.sqlclient.SqlClient arg) |
SqlClient |
preparedBatch(String sql,
List<Tuple> batch,
Handler<AsyncResult<RowSet>> handler)
Prepare and execute a createBatch.
|
SqlClient |
preparedQuery(String sql,
Handler<AsyncResult<RowSet>> handler)
Prepare and execute a query.
|
SqlClient |
preparedQuery(String sql,
Tuple arguments,
Handler<AsyncResult<RowSet>> handler)
Prepare and execute a query.
|
SqlClient |
query(String sql,
Handler<AsyncResult<RowSet>> handler)
Execute a simple query.
|
Single<RowSet> |
rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
Single<RowSet> |
rxPreparedQuery(String sql)
Prepare and execute a query.
|
Single<RowSet> |
rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
Single<RowSet> |
rxQuery(String sql)
Execute a simple query.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<SqlClient> __TYPE_ARG
public io.vertx.sqlclient.SqlClient getDelegate()
public SqlClient query(String sql, Handler<AsyncResult<RowSet>> handler)
sql - the query SQLhandler - the handler notified with the execution resultpublic Single<RowSet> rxQuery(String sql)
sql - the query SQLpublic SqlClient preparedQuery(String sql, Handler<AsyncResult<RowSet>> handler)
sql - the prepared query SQLhandler - the handler notified with the execution resultpublic Single<RowSet> rxPreparedQuery(String sql)
sql - the prepared query SQLpublic SqlClient preparedQuery(String sql, Tuple arguments, Handler<AsyncResult<RowSet>> handler)
sql - the prepared query SQLarguments - the list of argumentshandler - the handler notified with the execution resultpublic Single<RowSet> rxPreparedQuery(String sql, Tuple arguments)
sql - the prepared query SQLarguments - the list of argumentspublic SqlClient preparedBatch(String sql, List<Tuple> batch, Handler<AsyncResult<RowSet>> handler)
sql - the prepared query SQLbatch - the batch of tupleshandler - the handler notified with the execution resultpublic Single<RowSet> rxPreparedBatch(String sql, List<Tuple> batch)
sql - the prepared query SQLbatch - the batch of tuplespublic void close()
public static SqlClient newInstance(io.vertx.sqlclient.SqlClient arg)
Copyright © 2019 Eclipse. All rights reserved.