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