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,
java.util.stream.Collector<Row,?,R> collector,
Handler<AsyncResult<SqlResult<R>>> handler)
Prepare and execute a createBatch.
|
SqlClient |
preparedBatch(String sql,
List<Tuple> batch,
Handler<AsyncResult<RowSet<Row>>> handler)
Prepare and execute a createBatch.
|
<R> SqlClient |
preparedQuery(String sql,
java.util.stream.Collector<Row,?,R> collector,
Handler<AsyncResult<SqlResult<R>>> handler)
Prepare and execute a query.
|
SqlClient |
preparedQuery(String sql,
Handler<AsyncResult<RowSet<Row>>> handler)
Prepare and execute a query.
|
<R> SqlClient |
preparedQuery(String sql,
Tuple arguments,
java.util.stream.Collector<Row,?,R> collector,
Handler<AsyncResult<SqlResult<R>>> handler)
Prepare and execute a query.
|
SqlClient |
preparedQuery(String sql,
Tuple arguments,
Handler<AsyncResult<RowSet<Row>>> handler)
Prepare and execute a query.
|
<R> SqlClient |
query(String sql,
java.util.stream.Collector<Row,?,R> collector,
Handler<AsyncResult<SqlResult<R>>> handler)
Execute a simple query.
|
SqlClient |
query(String sql,
Handler<AsyncResult<RowSet<Row>>> handler)
Execute a simple query.
|
SqlClient query(String sql, Handler<AsyncResult<RowSet<Row>>> handler)
sql - the query SQLhandler - the handler notified with the execution result<R> SqlClient query(String sql, java.util.stream.Collector<Row,?,R> collector, Handler<AsyncResult<SqlResult<R>>> handler)
sql - the query SQLcollector - the collectorhandler - the handler notified with the execution resultSqlClient preparedQuery(String sql, Handler<AsyncResult<RowSet<Row>>> handler)
sql - the prepared query SQLhandler - the handler notified with the execution result<R> SqlClient preparedQuery(String sql, java.util.stream.Collector<Row,?,R> collector, Handler<AsyncResult<SqlResult<R>>> handler)
sql - the prepared query SQLcollector - the collectorhandler - the handler notified with the execution resultSqlClient 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 result<R> SqlClient preparedQuery(String sql, Tuple arguments, java.util.stream.Collector<Row,?,R> collector, Handler<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, Handler<AsyncResult<RowSet<Row>>> 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, java.util.stream.Collector<Row,?,R> collector, Handler<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.