public class AsyncSQLClient extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<AsyncSQLClient> |
__TYPE_ARG |
Constructor and Description |
---|
AsyncSQLClient(AsyncSQLClient delegate) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the client and release all resources.
|
void |
close(Handler<AsyncResult<Void>> whenDone)
Close the client and release all resources.
|
rx.Observable<Void> |
closeObservable()
Deprecated.
use
rxClose() instead |
void |
getConnection(Handler<AsyncResult<SQLConnection>> handler)
Returns a connection that can be used to perform SQL operations on.
|
rx.Observable<SQLConnection> |
getConnectionObservable()
Deprecated.
use
rxGetConnection() instead |
AsyncSQLClient |
getDelegate() |
static AsyncSQLClient |
newInstance(AsyncSQLClient arg) |
rx.Single<Void> |
rxClose()
Close the client and release all resources.
|
rx.Single<SQLConnection> |
rxGetConnection()
Returns a connection that can be used to perform SQL operations on.
|
public static final TypeArg<AsyncSQLClient> __TYPE_ARG
public AsyncSQLClient(AsyncSQLClient delegate)
public AsyncSQLClient getDelegate()
public void close()
public void close(Handler<AsyncResult<Void>> whenDone)
whenDone
- handler that will be called when close is complete@Deprecated public rx.Observable<Void> closeObservable()
rxClose()
insteadpublic rx.Single<Void> rxClose()
public void getConnection(Handler<AsyncResult<SQLConnection>> handler)
handler
- the handler which is called when the JdbcConnection
object is ready for use.@Deprecated public rx.Observable<SQLConnection> getConnectionObservable()
rxGetConnection()
insteadpublic rx.Single<SQLConnection> rxGetConnection()
public static AsyncSQLClient newInstance(AsyncSQLClient arg)
Copyright © 2017. All rights reserved.