public abstract class SqlClientBase<C extends SqlClient> extends Object implements SqlClient, CommandScheduler
| Constructor and Description |
|---|
SqlClientBase() |
| Modifier and Type | Method and Description |
|---|---|
PreparedQuery<RowSet<Row>> |
preparedQuery(String sql)
Create a prepared query, one of the
PreparedQuery.execute(io.vertx.sqlclient.Tuple, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) or PreparedQuery.executeBatch(java.util.List<io.vertx.sqlclient.Tuple>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)
methods must be called to execute the query. |
Query<RowSet<Row>> |
query(String sql)
Create a query, the
Query.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) method must be called to execute the query. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitschedulepublic Query<RowSet<Row>> query(String sql)
SqlClientQuery.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) method must be called to execute the query.public PreparedQuery<RowSet<Row>> preparedQuery(String sql)
SqlClientPreparedQuery.execute(io.vertx.sqlclient.Tuple, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) or PreparedQuery.executeBatch(java.util.List<io.vertx.sqlclient.Tuple>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)
methods must be called to execute the query.preparedQuery in interface SqlClientCopyright © 2020. All rights reserved.