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.
|
Observable<JsonArray> |
querySingleObservable(String sql)
Deprecated.
use
rxQuerySingle(java.lang.String) instead |
SQLOperations |
querySingleWithParams(String sql,
JsonArray arguments,
Handler<AsyncResult<JsonArray>> handler)
Execute a one shot SQL statement with arguments that returns a single SQL row.
|
Observable<JsonArray> |
querySingleWithParamsObservable(String sql,
JsonArray arguments)
Deprecated.
|
Single<JsonArray> |
rxQuerySingle(String sql)
Execute a one shot SQL statement that returns a single SQL row.
|
Single<JsonArray> |
rxQuerySingleWithParams(String sql,
JsonArray arguments)
Execute a one shot SQL statement with arguments that returns a single SQL row.
|
String |
toString() |
call, callObservable, callWithParams, callWithParamsObservable, close, close, closeObservable, getConnection, getConnectionObservable, newInstance, query, queryObservable, queryStream, queryStreamObservable, queryStreamWithParams, queryStreamWithParamsObservable, queryWithParams, queryWithParamsObservable, rxCall, rxCallWithParams, rxClose, rxGetConnection, rxQuery, rxQueryStream, rxQueryStreamWithParams, rxQueryWithParams, rxUpdate, rxUpdateWithParams, update, updateObservable, updateWithParams, updateWithParamsObservable
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 handler@Deprecated public Observable<JsonArray> querySingleObservable(String sql)
rxQuerySingle(java.lang.String)
insteadquerySingleObservable
in class SQLClient
sql
- the statement to executepublic Single<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 handler@Deprecated public Observable<JsonArray> querySingleWithParamsObservable(String sql, JsonArray arguments)
rxQuerySingleWithParams(java.lang.String, io.vertx.core.json.JsonArray)
insteadquerySingleWithParamsObservable
in class SQLClient
sql
- the statement to executearguments
- the argumentspublic Single<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.