Class MSSQLBuilder

java.lang.Object
io.vertx.mutiny.mssqlclient.MSSQLBuilder
All Implemented Interfaces:
MutinyDelegate

public class MSSQLBuilder extends Object implements 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 Details

  • Constructor Details

    • MSSQLBuilder

      public MSSQLBuilder(io.vertx.mssqlclient.MSSQLBuilder delegate)
      Create a new instance of MSSQLBuilder delegating to the given (non-null) instance of MSSQLBuilder.
    • MSSQLBuilder

      public MSSQLBuilder(Object delegate)
  • 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:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • pool

      public static Pool pool(Consumer<ClientBuilder<Pool>> block)
      Build a pool with the specified block argument. The block argument is usually a lambda that configures the provided builder

      Example usage: Pool pool = PgBuilder.pool(builder -> builder.connectingTo(connectOptions));

      Returns:
      the pool as configured by the code block
    • pool

      public static ClientBuilder<Pool> pool()
      Provide a builder for MSSQL pool of connections

      Example usage: Pool pool = PgBuilder.pool().connectingTo(connectOptions).build()

    • newInstance

      public static MSSQLBuilder newInstance(io.vertx.mssqlclient.MSSQLBuilder delegate)
      Creates a new instance of the MSSQLBuilder.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object