java.lang.Object
io.vertx.mutiny.sqlclient.ClientBuilder<C>
- All Implemented Interfaces:
io.smallrye.mutiny.vertx.MutinyDelegate
Builder for
SqlClient instances.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.smallrye.mutiny.vertx.TypeArg<ClientBuilder> final io.smallrye.mutiny.vertx.TypeArg<C> -
Constructor Summary
ConstructorsConstructorDescriptionClientBuilder(io.vertx.sqlclient.ClientBuilder delegate) ClientBuilder(io.vertx.sqlclient.ClientBuilder delegate, io.smallrye.mutiny.vertx.TypeArg<C> typeArg_0) ClientBuilder(Object delegate, io.smallrye.mutiny.vertx.TypeArg<C> typeArg_0) -
Method Summary
Modifier and TypeMethodDescriptionbuild()connectingTo(io.vertx.sqlclient.SqlConnectOptions database) connectingTo(String database) connectingTo(Supplier<io.smallrye.mutiny.Uni<io.vertx.sqlclient.SqlConnectOptions>> supplier) connectingTo(List<io.vertx.sqlclient.SqlConnectOptions> databases) booleanio.vertx.sqlclient.ClientBuilderinthashCode()static <C> ClientBuilder<C> newInstance(io.vertx.sqlclient.ClientBuilder arg) static <C> ClientBuilder<C> newInstance(io.vertx.sqlclient.ClientBuilder arg, io.smallrye.mutiny.vertx.TypeArg<C> __typeArg_C) toString()using(io.vertx.mutiny.core.Vertx vertx) with(io.vertx.sqlclient.PoolOptions options) withConnectHandler(Consumer<SqlConnection> handler)
-
Field Details
-
__TYPE_ARG
-
__typeArg_0
-
-
Constructor Details
-
ClientBuilder
public ClientBuilder(io.vertx.sqlclient.ClientBuilder delegate) -
ClientBuilder
-
ClientBuilder
public ClientBuilder(io.vertx.sqlclient.ClientBuilder delegate, io.smallrye.mutiny.vertx.TypeArg<C> typeArg_0)
-
-
Method Details
-
getDelegate
public io.vertx.sqlclient.ClientBuilder getDelegate()- Specified by:
getDelegatein interfaceio.smallrye.mutiny.vertx.MutinyDelegate
-
toString
-
equals
-
hashCode
public int hashCode() -
with
- Parameters:
options- the pool options- Returns:
- a reference to this, so the API can be used fluently
-
connectingTo
- Parameters:
database- the database coordinates- Returns:
- a reference to this, so the API can be used fluently
-
connectingTo
- Parameters:
database- the database URI- Returns:
- a reference to this, so the API can be used fluently
-
connectingTo
- Parameters:
databases- the list of database coordinates- Returns:
- a reference to this, so the API can be used fluently
-
using
- Parameters:
vertx- the vertx instance- Returns:
- a reference to this, so the API can be used fluently
-
withConnectHandler
- Parameters:
handler- the handler- Returns:
-
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
-
newInstance
public static <C> ClientBuilder<C> newInstance(io.vertx.sqlclient.ClientBuilder arg, io.smallrye.mutiny.vertx.TypeArg<C> __typeArg_C)
-