public interface SqlClient
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the client and release the associated resources.
|
<R> SqlClient |
preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler)
Prepare and execute a createBatch.
|
SqlClient |
preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
Prepare and execute a createBatch.
|
<R> SqlClient |
preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler)
Prepare and execute a query.
|
SqlClient |
preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
Prepare and execute a query.
|
<R> SqlClient |
preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> 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.
|
<R> SqlClient |
query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler)
Execute a simple query.
|
SqlClient |
query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
Execute a simple query.
|
SqlClient query(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
sql
- the query SQLhandler
- the handler notified with the execution result<R> SqlClient query(String sql, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler)
sql
- the query SQLcollector
- the collectorhandler
- the handler notified with the execution resultSqlClient preparedQuery(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler)
sql
- the prepared query SQLhandler
- the handler notified with the execution result<R> SqlClient preparedQuery(String sql, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler)
sql
- the prepared query SQLcollector
- the collectorhandler
- the handler notified with the execution resultSqlClient 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 result<R> SqlClient preparedQuery(String sql, Tuple arguments, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler)
sql
- the prepared query SQLarguments
- the list of argumentscollector
- the collectorhandler
- the handler notified with the execution resultSqlClient 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 result<R> SqlClient preparedBatch(String sql, List<Tuple> batch, Collector<Row,?,R> collector, io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler)
sql
- the prepared query SQLbatch
- the batch of tuplescollector
- the collectorhandler
- the handler notified with the execution resultvoid close()
Copyright © 2019 Eclipse. All rights reserved.