## Uses of Class
io.vertx.reactivex.sqlclient.SqlConnection

- Packages that use SqlConnection
  Package | Description
  --- | ---
  io.vertx.reactivex.db2client |
  io.vertx.reactivex.mysqlclient |
  io.vertx.reactivex.pgclient |
  io.vertx.reactivex.sqlclient |

- - ### Uses of SqlConnection in io.vertx.reactivex.db2client

    Subclasses of SqlConnection in io.vertx.reactivex.db2client
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DB2Connection` A connection to DB2 server.

    Methods in io.vertx.reactivex.db2client with parameters of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `static DB2Connection` | DB2Connection.`cast(SqlConnection sqlConnection)` Cast a to `DB2Connection`.

  - ### Uses of SqlConnection in io.vertx.reactivex.mysqlclient

    Subclasses of SqlConnection in io.vertx.reactivex.mysqlclient
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MySQLConnection` An interface which represents a connection to MySQL server.

    Methods in io.vertx.reactivex.mysqlclient with parameters of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `static MySQLConnection` | MySQLConnection.`cast(SqlConnection sqlConnection)` Cast a to `MySQLConnection`.

  - ### Uses of SqlConnection in io.vertx.reactivex.pgclient

    Subclasses of SqlConnection in io.vertx.reactivex.pgclient
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PgConnection` A connection to Postgres.

    Methods in io.vertx.reactivex.pgclient with parameters of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `static PgConnection` | PgConnection.`cast(SqlConnection sqlConnection)` Cast a to `PgConnection`.

  - ### Uses of SqlConnection in io.vertx.reactivex.sqlclient

    Fields in io.vertx.reactivex.sqlclient with type parameters of type SqlConnection
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<SqlConnection>` | SqlConnection.`__TYPE_ARG`

    Methods in io.vertx.reactivex.sqlclient that return SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `SqlConnection` | SqlConnection.`closeHandler(Handler<Void> handler)` Set an handler called when the connection is closed.
    `SqlConnection` | SqlConnection.`exceptionHandler(Handler<Throwable> handler)` Set an handler called with connection errors.
    `static SqlConnection` | SqlConnection.`newInstance(SqlConnection arg)`
    `SqlConnection` | SqlConnection.`prepare(String sql)` Create a prepared statement using the given `sql` string.
    `SqlConnection` | SqlConnection.`prepare(String sql, Handler<AsyncResult<PreparedStatement>> handler)` Create a prepared statement using the given `sql` string.

    Methods in io.vertx.reactivex.sqlclient that return types with arguments of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `Single<SqlConnection>` | Pool.`rxGetConnection()` Get a connection from the pool.

    Method parameters in io.vertx.reactivex.sqlclient with type arguments of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | Pool.`getConnection(Handler<AsyncResult<SqlConnection>> handler)` Get a connection from the pool.
    `<T> Maybe<T>` | Pool.`rxWithConnection(java.util.function.Function<SqlConnection,Future<T>> function)` Get a connection from the pool and execute the given `function`.
    `<T> Maybe<T>` | Pool.`rxWithConnection(Function<SqlConnection,Maybe<T>> function)` Get a connection from the pool and execute the given `function`.
    `<T> Maybe<T>` | Pool.`rxWithTransaction(java.util.function.Function<SqlConnection,Future<T>> function)` Execute the given `function` within a transaction.
    `<T> Maybe<T>` | Pool.`rxWithTransaction(Function<SqlConnection,Maybe<T>> function)` Execute the given `function` within a transaction.
    `<T> void` | Pool.`withConnection(java.util.function.Function<SqlConnection,Future<T>> function)` Get a connection from the pool and execute the given `function`.
    `<T> void` | Pool.`withConnection(java.util.function.Function<SqlConnection,Future<T>> function, Handler<AsyncResult<T>> handler)` Get a connection from the pool and execute the given `function`.
    `<T> void` | Pool.`withConnection(Function<SqlConnection,Maybe<T>> function)` Get a connection from the pool and execute the given `function`.
    `<T> void` | Pool.`withConnection(Function<SqlConnection,Maybe<T>> function, Handler<AsyncResult<T>> handler)` Get a connection from the pool and execute the given `function`.
    `<T> void` | Pool.`withTransaction(java.util.function.Function<SqlConnection,Future<T>> function)` Execute the given `function` within a transaction.
    `<T> void` | Pool.`withTransaction(java.util.function.Function<SqlConnection,Future<T>> function, Handler<AsyncResult<T>> handler)` Execute the given `function` within a transaction.
    `<T> void` | Pool.`withTransaction(Function<SqlConnection,Maybe<T>> function)` Execute the given `function` within a transaction.
    `<T> void` | Pool.`withTransaction(Function<SqlConnection,Maybe<T>> function, Handler<AsyncResult<T>> handler)` Execute the given `function` within a transaction.

Copyright © 2021 Eclipse. All rights reserved.