Package io.vertx.mutiny.mssqlclient
Class MSSQLBuilder
java.lang.Object
io.vertx.mutiny.mssqlclient.MSSQLBuilder
- All Implemented Interfaces:
MutinyDelegate
Entry point for building MSSQL clients.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
MSSQLBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMSSQLBuilder(io.vertx.mssqlclient.MSSQLBuilder delegate) Create a new instance ofMSSQLBuilderdelegating to the given (non-null) instance ofMSSQLBuilder.MSSQLBuilder(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.vertx.mssqlclient.MSSQLBuilderGet the delegate instance.inthashCode()static MSSQLBuildernewInstance(io.vertx.mssqlclient.MSSQLBuilder delegate) Creates a new instance of theMSSQLBuilder.static ClientBuilder<Pool>pool()Provide a builder for MSSQL pool of connectionsstatic Poolpool(Consumer<ClientBuilder<Pool>> block) Build a pool with the specifiedblockargument.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
MSSQLBuilder
public MSSQLBuilder(io.vertx.mssqlclient.MSSQLBuilder delegate) Create a new instance ofMSSQLBuilderdelegating to the given (non-null) instance ofMSSQLBuilder. -
MSSQLBuilder
-
-
Method Details
-
getDelegate
public io.vertx.mssqlclient.MSSQLBuilder getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
pool
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
Provide a builder for MSSQL pool of connectionsExample usage:
Pool pool = PgBuilder.pool().connectingTo(connectOptions).build() -
newInstance
Creates a new instance of theMSSQLBuilder. -
hashCode
public int hashCode() -
equals
-
toString
-