public class AsyncSQLClient extends SQLClient
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<AsyncSQLClient> |
__TYPE_ARG |
Constructor and Description |
---|
AsyncSQLClient(io.vertx.ext.asyncsql.AsyncSQLClient delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
io.vertx.ext.asyncsql.AsyncSQLClient |
getDelegate() |
int |
hashCode() |
static AsyncSQLClient |
newInstance(io.vertx.ext.asyncsql.AsyncSQLClient arg) |
SQLOperations |
querySingle(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray>> handler)
Execute a one shot SQL statement that returns a single SQL row.
|
SQLOperations |
querySingleWithParams(String sql,
io.vertx.core.json.JsonArray arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray>> handler)
Execute a one shot SQL statement with arguments that returns a single SQL row.
|
io.reactivex.Maybe<io.vertx.core.json.JsonArray> |
rxQuerySingle(String sql)
Execute a one shot SQL statement that returns a single SQL row.
|
io.reactivex.Maybe<io.vertx.core.json.JsonArray> |
rxQuerySingleWithParams(String sql,
io.vertx.core.json.JsonArray arguments)
Execute a one shot SQL statement with arguments that returns a single SQL row.
|
String |
toString() |
call, callWithParams, close, close, getConnection, newInstance, query, queryStream, queryStreamWithParams, queryWithParams, rxCall, rxCallWithParams, rxClose, rxGetConnection, rxQuery, rxQueryStream, rxQueryStreamWithParams, rxQueryWithParams, rxUpdate, rxUpdateWithParams, update, updateWithParams
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
newInstance
public static final TypeArg<AsyncSQLClient> __TYPE_ARG
public AsyncSQLClient(io.vertx.ext.asyncsql.AsyncSQLClient delegate)
public io.vertx.ext.asyncsql.AsyncSQLClient getDelegate()
getDelegate
in interface SQLOperations
getDelegate
in class SQLClient
public SQLOperations querySingle(String sql, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray>> handler)
querySingle
in interface SQLOperations
querySingle
in class SQLClient
sql
- the statement to executehandler
- the result handlerpublic io.reactivex.Maybe<io.vertx.core.json.JsonArray> rxQuerySingle(String sql)
rxQuerySingle
in class SQLClient
sql
- the statement to executepublic SQLOperations querySingleWithParams(String sql, io.vertx.core.json.JsonArray arguments, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray>> handler)
querySingleWithParams
in interface SQLOperations
querySingleWithParams
in class SQLClient
sql
- the statement to executearguments
- the argumentshandler
- the result handlerpublic io.reactivex.Maybe<io.vertx.core.json.JsonArray> rxQuerySingleWithParams(String sql, io.vertx.core.json.JsonArray arguments)
rxQuerySingleWithParams
in class SQLClient
sql
- the statement to executearguments
- the argumentspublic static AsyncSQLClient newInstance(io.vertx.ext.asyncsql.AsyncSQLClient arg)
Copyright © 2020 Eclipse. All rights reserved.