public class OracleConnection extends SqlConnection
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<OracleConnection> |
__TYPE_ARG |
| Constructor and Description |
|---|
OracleConnection(io.vertx.oracleclient.OracleConnection delegate) |
| Modifier and Type | Method and Description |
|---|---|
static OracleConnection |
cast(SqlConnection sqlConnection)
Cast a to
OracleConnection. |
OracleConnection |
closeHandler(Handler<Void> handler)
Set an handler called when the connection is closed.
|
static Single<OracleConnection> |
connect(Vertx vertx,
io.vertx.oracleclient.OracleConnectOptions connectOptions)
Create a connection to Oracle with the given
connectOptions. |
boolean |
equals(Object o) |
OracleConnection |
exceptionHandler(Handler<Throwable> handler)
Set an handler called with connection errors.
|
io.vertx.oracleclient.OracleConnection |
getDelegate() |
int |
hashCode() |
static OracleConnection |
newInstance(io.vertx.oracleclient.OracleConnection arg) |
Single<PreparedStatement> |
prepare(String s)
Create a prepared statement using the given
sql string. |
static Single<OracleConnection> |
rxConnect(Vertx vertx,
io.vertx.oracleclient.OracleConnectOptions connectOptions)
Create a connection to Oracle with the given
connectOptions. |
Single<PreparedStatement> |
rxPrepare(String s)
Create a prepared statement using the given
sql string. |
String |
toString() |
begin, close, databaseMetadata, isSSL, newInstance, prepare, rxBegin, rxClose, rxPrepare, transactionnewInstance, preparedQuery, preparedQuery, querypublic static final io.vertx.lang.rx.TypeArg<OracleConnection> __TYPE_ARG
public OracleConnection(io.vertx.oracleclient.OracleConnection delegate)
public String toString()
toString in class SqlConnectionpublic boolean equals(Object o)
equals in class SqlConnectionpublic int hashCode()
hashCode in class SqlConnectionpublic io.vertx.oracleclient.OracleConnection getDelegate()
getDelegate in class SqlConnectionpublic static Single<OracleConnection> connect(Vertx vertx, io.vertx.oracleclient.OracleConnectOptions connectOptions)
connectOptions.vertx - the vertx instanceconnectOptions - the options for the connectionpublic static Single<OracleConnection> rxConnect(Vertx vertx, io.vertx.oracleclient.OracleConnectOptions connectOptions)
connectOptions.vertx - the vertx instanceconnectOptions - the options for the connectionpublic Single<PreparedStatement> prepare(String s)
SqlConnectionsql string.prepare in class SqlConnections - public Single<PreparedStatement> rxPrepare(String s)
SqlConnectionsql string.rxPrepare in class SqlConnections - public OracleConnection exceptionHandler(Handler<Throwable> handler)
SqlConnectionexceptionHandler in class SqlConnectionhandler - public OracleConnection closeHandler(Handler<Void> handler)
SqlConnectioncloseHandler in class SqlConnectionhandler - public static OracleConnection cast(SqlConnection sqlConnection)
OracleConnection.
This is mostly useful for Vert.x generated APIs like RxJava/Mutiny.
sqlConnection - the connection to castinstancepublic static OracleConnection newInstance(io.vertx.oracleclient.OracleConnection arg)
Copyright © 2023 Eclipse. All rights reserved.