Class ClientBuilder<C>


  • public class ClientBuilder<C>
    extends Object
    Builder for SqlClient instances.

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Constructor Detail

      • ClientBuilder

        public ClientBuilder​(io.vertx.sqlclient.ClientBuilder delegate)
      • ClientBuilder

        public ClientBuilder​(Object delegate,
                             TypeArg<C> typeArg_0)
      • ClientBuilder

        public ClientBuilder​(io.vertx.sqlclient.ClientBuilder delegate,
                             TypeArg<C> typeArg_0)
    • Method Detail

      • getDelegate

        public io.vertx.sqlclient.ClientBuilder getDelegate()
      • hashCode

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

        public ClientBuilder<C> with​(io.vertx.sqlclient.PoolOptions options)
        Parameters:
        options - the pool options
        Returns:
        a reference to this, so the API can be used fluently
      • connectingTo

        public ClientBuilder<C> connectingTo​(io.vertx.sqlclient.SqlConnectOptions database)
        Parameters:
        database - the database coordinates
        Returns:
        a reference to this, so the API can be used fluently
      • connectingTo

        public ClientBuilder<C> connectingTo​(String database)
        Parameters:
        database - the database URI
        Returns:
        a reference to this, so the API can be used fluently
      • connectingTo

        public ClientBuilder<C> connectingTo​(List<io.vertx.sqlclient.SqlConnectOptions> databases)
        Parameters:
        databases - the list of database coordinates
        Returns:
        a reference to this, so the API can be used fluently
      • using

        public ClientBuilder<C> using​(Vertx vertx)
        Parameters:
        vertx - the vertx instance
        Returns:
        a reference to this, so the API can be used fluently
      • build

        public C build()
        Returns:
        the client
      • connectingTo

        public ClientBuilder<C> connectingTo​(Supplier<io.smallrye.mutiny.Uni<io.vertx.sqlclient.SqlConnectOptions>> supplier)
        Parameters:
        supplier - the supplier of database coordinates
        Returns:
        a reference to this, so the API can be used fluently
      • newInstance

        public static <C> ClientBuilder<C> newInstance​(io.vertx.sqlclient.ClientBuilder arg)
      • newInstance

        public static <C> ClientBuilder<C> newInstance​(io.vertx.sqlclient.ClientBuilder arg,
                                                       TypeArg<C> __typeArg_C)