public class AsyncSQLClient extends SQLClient
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<AsyncSQLClient> |
__TYPE_ARG |
Constructor and Description |
---|
AsyncSQLClient(AsyncSQLClient delegate) |
AsyncSQLClient(Object delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AsyncSQLClient |
getDelegate() |
int |
hashCode() |
static AsyncSQLClient |
newInstance(AsyncSQLClient arg) |
SQLOperations |
querySingle(String sql,
Handler<AsyncResult<JsonArray>> handler)
Execute a one shot SQL statement that returns a single SQL row.
|
SQLOperations |
querySingleWithParams(String sql,
JsonArray arguments,
Handler<AsyncResult<JsonArray>> handler)
Execute a one shot SQL statement with arguments that returns a single SQL row.
|
Maybe<JsonArray> |
rxQuerySingle(String sql)
Execute a one shot SQL statement that returns a single SQL row.
|
Maybe<JsonArray> |
rxQuerySingleWithParams(String sql,
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 io.vertx.lang.rx.TypeArg<AsyncSQLClient> __TYPE_ARG
public AsyncSQLClient(AsyncSQLClient delegate)
public AsyncSQLClient(Object delegate)
public AsyncSQLClient getDelegate()
getDelegate
in interface SQLOperations
getDelegate
in class SQLClient
public SQLOperations querySingle(String sql, Handler<AsyncResult<JsonArray>> handler)
querySingle
in interface SQLOperations
querySingle
in class SQLClient
sql
- the statement to executehandler
- the result handlerpublic Maybe<JsonArray> rxQuerySingle(String sql)
rxQuerySingle
in class SQLClient
sql
- the statement to executepublic SQLOperations querySingleWithParams(String sql, JsonArray arguments, Handler<AsyncResult<JsonArray>> handler)
querySingleWithParams
in interface SQLOperations
querySingleWithParams
in class SQLClient
sql
- the statement to executearguments
- the argumentshandler
- the result handlerpublic Maybe<JsonArray> rxQuerySingleWithParams(String sql, JsonArray arguments)
rxQuerySingleWithParams
in class SQLClient
sql
- the statement to executearguments
- the argumentspublic static AsyncSQLClient newInstance(AsyncSQLClient arg)
Copyright © 2023 Eclipse. All rights reserved.