Package io.vertx.reactivex.mssqlclient
Class MSSQLBuilder
- java.lang.Object
-
- io.vertx.reactivex.mssqlclient.MSSQLBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<MSSQLBuilder>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description MSSQLBuilder(MSSQLBuilder delegate)
MSSQLBuilder(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
MSSQLBuilder
getDelegate()
int
hashCode()
static MSSQLBuilder
newInstance(MSSQLBuilder arg)
static ClientBuilder<Pool>
pool()
Provide a builder for MSSQL pool of connectionsstatic Pool
pool(Handler<ClientBuilder<Pool>> block)
Build a pool with the specifiedblock
argument.String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<MSSQLBuilder> __TYPE_ARG
-
-
Constructor Detail
-
MSSQLBuilder
public MSSQLBuilder(MSSQLBuilder delegate)
-
MSSQLBuilder
public MSSQLBuilder(Object delegate)
-
-
Method Detail
-
getDelegate
public MSSQLBuilder getDelegate()
-
pool
public static Pool pool(Handler<ClientBuilder<Pool>> block)
Build a pool with the specifiedblock
argument. Theblock
argument is usually a lambda that configures the provided builderExample usage:
Pool pool = PgBuilder.pool(builder -> builder.connectingTo(connectOptions));
- Parameters:
block
-- Returns:
- the pool as configured by the code
block
-
pool
public static ClientBuilder<Pool> pool()
Provide a builder for MSSQL pool of connectionsExample usage:
Pool pool = PgBuilder.pool().connectingTo(connectOptions).build()
- Returns:
-
newInstance
public static MSSQLBuilder newInstance(MSSQLBuilder arg)
-
-