Package io.vertx.mutiny.mssqlclient
Class MSSQLPool
java.lang.Object
io.vertx.mutiny.sqlclient.SqlClient
io.vertx.mutiny.sqlclient.Pool
io.vertx.mutiny.mssqlclient.MSSQLPool
- All Implemented Interfaces:
MutinyDelegate
A of
SQL Server connections.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnectHandler(Consumer<SqlConnection> handler) connectionProvider(Function<Context, io.smallrye.mutiny.Uni<SqlConnection>> provider) booleanio.vertx.mssqlclient.MSSQLPoolinthashCode()static MSSQLPoolnewInstance(io.vertx.mssqlclient.MSSQLPool arg) static MSSQLPoolpool(io.vertx.mssqlclient.MSSQLConnectOptions database, io.vertx.sqlclient.PoolOptions options) static MSSQLPoolpool(Vertx vertx, io.vertx.mssqlclient.MSSQLConnectOptions database, io.vertx.sqlclient.PoolOptions options) static MSSQLPoolstatic MSSQLPoolstatic MSSQLPoolpool(Vertx vertx, Supplier<io.smallrye.mutiny.Uni<io.vertx.mssqlclient.MSSQLConnectOptions>> databases, io.vertx.sqlclient.PoolOptions options) static MSSQLPoolpool(Vertx vertx, List<io.vertx.mssqlclient.MSSQLConnectOptions> databases, io.vertx.sqlclient.PoolOptions options) static MSSQLPoolstatic MSSQLPoolstatic MSSQLPoolpool(Supplier<io.smallrye.mutiny.Uni<io.vertx.mssqlclient.MSSQLConnectOptions>> databases, io.vertx.sqlclient.PoolOptions options) static MSSQLPoolpool(List<io.vertx.mssqlclient.MSSQLConnectOptions> databases, io.vertx.sqlclient.PoolOptions options) toString()Methods inherited from class io.vertx.mutiny.sqlclient.Pool
close, closeAndAwait, closeAndForget, getConnection, getConnectionAndAwait, getConnectionAndForget, newInstance, pool, pool, pool, preparedQuery, query, size, withConnection, withConnectionAndAwait, withConnectionAndForget, withTransaction, withTransaction, withTransactionAndAwait, withTransactionAndAwait, withTransactionAndForget, withTransactionAndForgetMethods inherited from class io.vertx.mutiny.sqlclient.SqlClient
newInstance, preparedQuery
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
MSSQLPool
public MSSQLPool(io.vertx.mssqlclient.MSSQLPool delegate) -
MSSQLPool
-
-
Method Details
-
getDelegate
public io.vertx.mssqlclient.MSSQLPool getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Overrides:
getDelegatein classPool- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
pool
- Parameters:
connectionUri-- Returns:
-
pool
- Parameters:
connectionUri-options-- Returns:
-
pool
- Parameters:
vertx-connectionUri-- Returns:
-
pool
public static MSSQLPool pool(Vertx vertx, String connectionUri, io.vertx.sqlclient.PoolOptions options) - Parameters:
vertx-connectionUri-options-- Returns:
-
pool
public static MSSQLPool pool(io.vertx.mssqlclient.MSSQLConnectOptions database, io.vertx.sqlclient.PoolOptions options) - Parameters:
database- the options for the connectionoptions- the options for creating the pool- Returns:
- the connection pool
-
pool
public static MSSQLPool pool(Vertx vertx, io.vertx.mssqlclient.MSSQLConnectOptions database, io.vertx.sqlclient.PoolOptions options) - Parameters:
vertx-database-options-- Returns:
-
pool
public static MSSQLPool pool(List<io.vertx.mssqlclient.MSSQLConnectOptions> databases, io.vertx.sqlclient.PoolOptions options) - Parameters:
databases- the list of databasesoptions- the options for creating the pool- Returns:
- the connection pool
-
pool
public static MSSQLPool pool(Vertx vertx, List<io.vertx.mssqlclient.MSSQLConnectOptions> databases, io.vertx.sqlclient.PoolOptions options) - Parameters:
vertx-databases-options-- Returns:
-
connectHandler
- Overrides:
connectHandlerin classPool- Parameters:
handler- the handler- Returns:
-
connectionProvider
public MSSQLPool connectionProvider(Function<Context, io.smallrye.mutiny.Uni<SqlConnection>> provider) - Overrides:
connectionProviderin classPool- Parameters:
provider- the new connection provider- Returns:
- a reference to this, so the API can be used fluently
-
pool
public static MSSQLPool pool(Supplier<io.smallrye.mutiny.Uni<io.vertx.mssqlclient.MSSQLConnectOptions>> databases, io.vertx.sqlclient.PoolOptions options) - Parameters:
databases- the databases supplieroptions- the options for creating the pool- Returns:
- the connection pool
-
pool
public static MSSQLPool pool(Vertx vertx, Supplier<io.smallrye.mutiny.Uni<io.vertx.mssqlclient.MSSQLConnectOptions>> databases, io.vertx.sqlclient.PoolOptions options) - Parameters:
vertx-databases-options-- Returns:
-
newInstance
-