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