public class SqlClient extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static 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,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
Prepare and execute a createBatch.
|
SqlClient |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
Prepare and execute a query.
|
SqlClient |
preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
Prepare and execute a query.
|
SqlClient |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
Execute a simple query.
|
rx.Single<RowSet> |
rxPreparedBatch(String sql,
List<Tuple> batch)
Prepare and execute a createBatch.
|
rx.Single<RowSet> |
rxPreparedQuery(String sql)
Prepare and execute a query.
|
rx.Single<RowSet> |
rxPreparedQuery(String sql,
Tuple arguments)
Prepare and execute a query.
|
rx.Single<RowSet> |
rxQuery(String sql)
Execute a simple query.
|
String |
toString() |
public io.vertx.sqlclient.SqlClient getDelegate()
public SqlClient query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
sql
- the query SQLhandler
- the handler notified with the execution resultpublic rx.Single<RowSet> rxQuery(String sql)
sql
- the query SQLpublic SqlClient preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
sql
- the prepared query SQLhandler
- the handler notified with the execution resultpublic rx.Single<RowSet> rxPreparedQuery(String sql)
sql
- the prepared query SQLpublic SqlClient preparedQuery(String sql, Tuple arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
sql
- the prepared query SQLarguments
- the list of argumentshandler
- the handler notified with the execution resultpublic rx.Single<RowSet> rxPreparedQuery(String sql, Tuple arguments)
sql
- the prepared query SQLarguments
- the list of argumentspublic SqlClient preparedBatch(String sql, List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
sql
- the prepared query SQLbatch
- the batch of tupleshandler
- the handler notified with the execution resultpublic rx.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.