Class OracleConnection
java.lang.Object
io.vertx.rxjava3.sqlclient.SqlClient
io.vertx.rxjava3.sqlclient.SqlConnection
io.vertx.rxjava3.oracleclient.OracleConnection
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
A connection to Oracle Database.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOracleConnection(OracleConnection delegate) OracleConnection(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic OracleConnectioncast(SqlConnection sqlConnection) Cast a toOracleConnection.closeHandler(Handler<Void> handler) Set an handler called when the connection is closed.static Single<OracleConnection> connect(Vertx vertx, OracleConnectOptions connectOptions) Create a connection to Oracle with the givenconnectOptions.static Single<OracleConnection> Likeconnect(Vertx, OracleConnectOptions)with options built fromconnectionUri.booleanexceptionHandler(Handler<Throwable> handler) Set an handler called with connection errors.inthashCode()static OracleConnectionstatic Single<OracleConnection> rxConnect(Vertx vertx, OracleConnectOptions connectOptions) Create a connection to Oracle with the givenconnectOptions.static Single<OracleConnection> Likeconnect(Vertx, OracleConnectOptions)with options built fromconnectionUri.toString()Methods inherited from class SqlConnection
begin, databaseMetadata, isSSL, newInstance, prepare, prepare, rxBegin, rxPrepare, rxPrepare, transactionMethods inherited from class SqlClient
close, newInstance, preparedQuery, preparedQuery, query, rxClose
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
OracleConnection
-
OracleConnection
-
-
Method Details
-
toString
- Overrides:
toStringin classSqlConnection
-
equals
- Overrides:
equalsin classSqlConnection
-
hashCode
public int hashCode()- Overrides:
hashCodein classSqlConnection
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate- Overrides:
getDelegatein classSqlConnection
-
connect
Create a connection to Oracle with the givenconnectOptions.- Parameters:
vertx- the vertx instanceconnectOptions- the options for the connection- Returns:
- a future notified with with the connection or the failure
-
rxConnect
Create a connection to Oracle with the givenconnectOptions.- Parameters:
vertx- the vertx instanceconnectOptions- the options for the connection- Returns:
- a future notified with with the connection or the failure
-
connect
Likeconnect(Vertx, OracleConnectOptions)with options built fromconnectionUri.- Parameters:
vertx-connectionUri-- Returns:
-
rxConnect
Likeconnect(Vertx, OracleConnectOptions)with options built fromconnectionUri.- Parameters:
vertx-connectionUri-- Returns:
-
exceptionHandler
Description copied from class:SqlConnectionSet an handler called with connection errors.- Overrides:
exceptionHandlerin classSqlConnection- Parameters:
handler-- Returns:
-
closeHandler
Description copied from class:SqlConnectionSet an handler called when the connection is closed.- Overrides:
closeHandlerin classSqlConnection- Parameters:
handler-- Returns:
-
cast
Cast a toOracleConnection.This is mostly useful for Vert.x generated APIs like RxJava/Mutiny.
- Parameters:
sqlConnection- the connection to cast- Returns:
- a
instance
-
newInstance
-