Package io.vertx.mssqlclient
Interface MSSQLBuilder
-
public interface MSSQLBuilderEntry point for building MSSQL clients.
-
-
Method Summary
Static Methods Modifier and Type Method Description static ClientBuilder<Pool>pool()Provide a builder for MSSQL pool of connectionsstatic Poolpool(Handler<ClientBuilder<Pool>> block)Build a pool with the specifiedblockargument.
-
-
-
Method Detail
-
pool
static Pool pool(Handler<ClientBuilder<Pool>> block)
Build a pool with the specifiedblockargument. Theblockargument is usually a lambda that configures the provided builderExample usage:
Pool pool = PgBuilder.pool(builder -> builder.connectingTo(connectOptions));- Returns:
- the pool as configured by the code
block
-
pool
static ClientBuilder<Pool> pool()
Provide a builder for MSSQL pool of connectionsExample usage:
Pool pool = PgBuilder.pool().connectingTo(connectOptions).build()
-
-