Class OracleDriver

All Implemented Interfaces:
Driver<OracleConnectOptions>

public class OracleDriver extends DriverBase<OracleConnectOptions>
  • Field Details

  • Constructor Details

    • OracleDriver

      public OracleDriver()
  • Method Details

    • downcast

      public OracleConnectOptions downcast(SqlConnectOptions connectOptions)
      Description copied from interface: Driver
      Downcast the connect options to the specific driver options.
      Parameters:
      connectOptions - the options to downcast
      Returns:
      the downcasted options
    • parseConnectionUri

      public OracleConnectOptions parseConnectionUri(String uri)
      Returns:
      true if the driver accepts the connectOptions, false otherwise
    • acceptsOptions

      public boolean acceptsOptions(SqlConnectOptions options)
      Returns:
      true if the driver accepts the connectOptions, false otherwise
    • createConnectionFactory

      public ConnectionFactory<OracleConnectOptions> createConnectionFactory(Vertx vertx, NetClientOptions transportOptions)
      Description copied from class: DriverBase
      Create a connection factory to the given database.
      Specified by:
      createConnectionFactory in class DriverBase<OracleConnectOptions>
      Parameters:
      vertx - the Vertx instance
      transportOptions - the options to configure the TCP client
      Returns:
      the connection factory
    • wrapConnection

      public io.vertx.sqlclient.internal.SqlConnectionInternal wrapConnection(io.vertx.core.internal.ContextInternal context, ConnectionFactory<OracleConnectOptions> factory, Connection connection)
      Description copied from class: DriverBase
      Wrap a given connection into a SqlConnectionInternal. The default implementation wraps with a generic SqlConnectionBase.
      Overrides:
      wrapConnection in class DriverBase<OracleConnectOptions>
      Parameters:
      context - the connection context
      factory - the connection factory
      connection - the connection to wrap
      Returns:
      the wrapped connection