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, transaction
newInstance, preparedQuery, preparedQuery, query
public static final io.vertx.lang.rx.TypeArg<OracleConnection> __TYPE_ARG
public OracleConnection(io.vertx.oracleclient.OracleConnection delegate)
public String toString()
toString
in class SqlConnection
public boolean equals(Object o)
equals
in class SqlConnection
public int hashCode()
hashCode
in class SqlConnection
public io.vertx.oracleclient.OracleConnection getDelegate()
getDelegate
in class SqlConnection
public 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)
SqlConnection
sql
string.prepare
in class SqlConnection
s
- public Single<PreparedStatement> rxPrepare(String s)
SqlConnection
sql
string.rxPrepare
in class SqlConnection
s
- public OracleConnection exceptionHandler(Handler<Throwable> handler)
SqlConnection
exceptionHandler
in class SqlConnection
handler
- public OracleConnection closeHandler(Handler<Void> handler)
SqlConnection
closeHandler
in class SqlConnection
handler
- public static OracleConnection cast(SqlConnection sqlConnection)
OracleConnection
.
This is mostly useful for Vert.x generated APIs like RxJava/Mutiny.
sqlConnection
- the connection to castinstance
public static OracleConnection newInstance(io.vertx.oracleclient.OracleConnection arg)
Copyright © 2023 Eclipse. All rights reserved.