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 void |
connect(Vertx vertx,
io.vertx.oracleclient.OracleConnectOptions connectOptions)
Create a connection to Oracle with the given
connectOptions. |
static void |
connect(Vertx vertx,
io.vertx.oracleclient.OracleConnectOptions connectOptions,
Handler<AsyncResult<OracleConnection>> handler)
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) |
OracleConnection |
prepare(String s)
Create a prepared statement using the given
sql string. |
OracleConnection |
prepare(String s,
Handler<AsyncResult<PreparedStatement>> handler)
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, begin, close, close, databaseMetadata, isSSL, newInstance, prepare, 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 void connect(Vertx vertx, io.vertx.oracleclient.OracleConnectOptions connectOptions, Handler<AsyncResult<OracleConnection>> handler)
connectOptions.vertx - the vertx instanceconnectOptions - the options for the connectionhandler - the handler called with the connection or the failurepublic static void 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 OracleConnection prepare(String s, Handler<AsyncResult<PreparedStatement>> handler)
SqlConnectionsql string.prepare in class SqlConnections - handler - public OracleConnection 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.