## Uses of Interface
io.vertx.sqlclient.SqlConnection

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

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

    Subinterfaces of SqlConnection in io.vertx.db2client
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `DB2Connection` A connection to DB2 server.

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

    Method parameters in io.vertx.db2client with type arguments of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `DB2Pool` | DB2Pool.`connectHandler(Handler<SqlConnection> handler)`
    `DB2Pool` | DB2Pool.`connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider)`

  - ### Uses of SqlConnection in io.vertx.mssqlclient

    Subinterfaces of SqlConnection in io.vertx.mssqlclient
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `MSSQLConnection` A connection to Microsoft SQL Server.

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

    Method parameters in io.vertx.mssqlclient with type arguments of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `MSSQLPool` | MSSQLPool.`connectHandler(Handler<SqlConnection> handler)`
    `MSSQLPool` | MSSQLPool.`connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider)`

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

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

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

    Method parameters in io.vertx.mysqlclient with type arguments of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `MySQLPool` | MySQLPool.`connectHandler(Handler<SqlConnection> handler)`
    `MySQLPool` | MySQLPool.`connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider)`

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

    Subinterfaces of SqlConnection in io.vertx.pgclient
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `PgConnection` A connection to Postgres.

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

    Method parameters in io.vertx.pgclient with type arguments of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `PgPool` | PgPool.`connectHandler(Handler<SqlConnection> handler)`
    `PgPool` | PgPool.`connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider)`

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

    Methods in io.vertx.reactivex.sqlclient that return SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `SqlConnection` | SqlConnection.`getDelegate()`

    Methods in io.vertx.reactivex.sqlclient with parameters of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `static SqlConnection` | SqlConnection.`newInstance(SqlConnection arg)`

    Constructors in io.vertx.reactivex.sqlclient with parameters of type SqlConnection
    Constructor and Description
    `SqlConnection(SqlConnection delegate)`

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

    Methods in io.vertx.rxjava.sqlclient that return SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `SqlConnection` | SqlConnection.`getDelegate()`

    Methods in io.vertx.rxjava.sqlclient with parameters of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `static SqlConnection` | SqlConnection.`newInstance(SqlConnection arg)`

    Constructors in io.vertx.rxjava.sqlclient with parameters of type SqlConnection
    Constructor and Description
    `SqlConnection(SqlConnection delegate)`

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

    Methods in io.vertx.rxjava3.sqlclient that return SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `SqlConnection` | SqlConnection.`getDelegate()`

    Methods in io.vertx.rxjava3.sqlclient with parameters of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `static SqlConnection` | SqlConnection.`newInstance(SqlConnection arg)`

    Constructors in io.vertx.rxjava3.sqlclient with parameters of type SqlConnection
    Constructor and Description
    `SqlConnection(SqlConnection delegate)`

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

    Methods in io.vertx.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.
    `SqlConnection` | SqlConnection.`prepare(String sql, Handler<AsyncResult<PreparedStatement>> handler)` Create a prepared statement using the given `sql` string.
    `SqlConnection` | SqlConnection.`prepare(String sql, PrepareOptions options, Handler<AsyncResult<PreparedStatement>> handler)` Create a prepared statement using the given `sql` string.

    Methods in io.vertx.sqlclient that return types with arguments of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `Future<SqlConnection>` | Pool.`getConnection()` Like `Pool.getConnection(Handler)` but returns a `Future` of the asynchronous result

    Method parameters in io.vertx.sqlclient with type arguments of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `Pool` | Pool.`connectHandler(Handler<SqlConnection> handler)` Set an handler called when the pool has established a connection to the database.
    `Pool` | Pool.`connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider)` Replace the default pool connection provider, the new `provider` returns a future connection for a given `Context`.
    `void` | Pool.`getConnection(Handler<AsyncResult<SqlConnection>> handler)` Get a connection from the pool.
    `default <T> Future<T>` | Pool.`withConnection(java.util.function.Function<SqlConnection,Future<T>> function)` Like `Pool.withTransaction(Function, Handler)` but returns a `Future` of the asynchronous result
    `default <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`.
    `default <T> Future<T>` | Pool.`withTransaction(java.util.function.Function<SqlConnection,Future<T>> function)` Like `Pool.withTransaction(Function, Handler)` but returns a `Future` of the asynchronous result
    `default <T> void` | Pool.`withTransaction(java.util.function.Function<SqlConnection,Future<T>> function, Handler<AsyncResult<T>> handler)` Execute the given `function` within a transaction.

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

    Methods in io.vertx.sqlclient.spi that return types with arguments of type SqlConnection
    Modifier and Type | Method and Description
    --- | ---
    `Future<SqlConnection>` | ConnectionFactory.`connect(Context context)` Create a connection using the given `context`.

Copyright © 2022 Eclipse. All rights reserved.