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
-
public class MSSQLPool extends Pool
A ofSQL Server connections
. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<MSSQLPool>
__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MSSQLPool
connectHandler(Consumer<SqlConnection> handler)
MSSQLPool
connectionProvider(Function<Context,io.smallrye.mutiny.Uni<SqlConnection>> provider)
boolean
equals(Object o)
io.vertx.mssqlclient.MSSQLPool
getDelegate()
int
hashCode()
static MSSQLPool
newInstance(io.vertx.mssqlclient.MSSQLPool arg)
static MSSQLPool
pool(io.vertx.mssqlclient.MSSQLConnectOptions database, io.vertx.sqlclient.PoolOptions options)
static MSSQLPool
pool(Vertx vertx, io.vertx.mssqlclient.MSSQLConnectOptions database, io.vertx.sqlclient.PoolOptions options)
static MSSQLPool
pool(Vertx vertx, String connectionUri)
static MSSQLPool
pool(Vertx vertx, String connectionUri, io.vertx.sqlclient.PoolOptions options)
static MSSQLPool
pool(Vertx vertx, List<io.vertx.mssqlclient.MSSQLConnectOptions> databases, io.vertx.sqlclient.PoolOptions options)
static MSSQLPool
pool(String connectionUri)
static MSSQLPool
pool(String connectionUri, io.vertx.sqlclient.PoolOptions options)
static MSSQLPool
pool(List<io.vertx.mssqlclient.MSSQLConnectOptions> databases, io.vertx.sqlclient.PoolOptions options)
String
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, withTransactionAndAwait, withTransactionAndForget
-
Methods inherited from class io.vertx.mutiny.sqlclient.SqlClient
newInstance, preparedQuery
-
-
-
-
Constructor Detail
-
MSSQLPool
public MSSQLPool(io.vertx.mssqlclient.MSSQLPool delegate)
-
MSSQLPool
public MSSQLPool(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.mssqlclient.MSSQLPool getDelegate()
- Overrides:
getDelegate
in classPool
-
pool
public static MSSQLPool pool(String connectionUri, io.vertx.sqlclient.PoolOptions options)
- Parameters:
connectionUri
-options
-- Returns:
-
pool
public static MSSQLPool pool(Vertx vertx, String connectionUri)
- 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
public MSSQLPool connectHandler(Consumer<SqlConnection> handler)
- Overrides:
connectHandler
in classPool
- Parameters:
handler
- the handler- Returns:
-
connectionProvider
public MSSQLPool connectionProvider(Function<Context,io.smallrye.mutiny.Uni<SqlConnection>> provider)
- Overrides:
connectionProvider
in classPool
- Parameters:
provider
- the new connection provider- Returns:
- a reference to this, so the API can be used fluently
-
newInstance
public static MSSQLPool newInstance(io.vertx.mssqlclient.MSSQLPool arg)
-
-