Uses of Class
io.vertx.sqlclient.SqlConnectOptions
-
Packages that use SqlConnectOptions Package Description io.vertx.sqlclient io.vertx.sqlclient.spi -
-
Uses of SqlConnectOptions in io.vertx.sqlclient
Methods in io.vertx.sqlclient that return SqlConnectOptions Modifier and Type Method Description SqlConnectOptionsSqlConnectOptions. addProperty(String key, String value)Add a property for this client, which will be sent to server at the connection start.static SqlConnectOptionsSqlConnectOptions. fromUri(String connectionUri)Provide aSqlConnectOptionssubclass configured fromconnectionUri.SqlConnectOptionsSqlConnectOptions. merge(JsonObject other)Returns new options created after this object and merged with theotherjson config.SqlConnectOptionsSqlConnectOptions. setCachePreparedStatements(boolean cachePreparedStatements)Set whether prepared statements cache should be enabled.SqlConnectOptionsSqlConnectOptions. setDatabase(String database)Specify the default database for the connection.SqlConnectOptionsSqlConnectOptions. setHost(String host)Specify the host for connecting to the server.SqlConnectOptionsSqlConnectOptions. setMetricsName(String metricsName)Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.SqlConnectOptionsSqlConnectOptions. setPassword(String password)Specify the user password to be used for the authentication.SqlConnectOptionsSqlConnectOptions. setPort(int port)Specify the port for connecting to the server.SqlConnectOptionsSqlConnectOptions. setPreparedStatementCacheMaxSize(int preparedStatementCacheMaxSize)Set the maximum number of prepared statements that the connection will cache.SqlConnectOptionsSqlConnectOptions. setPreparedStatementCacheSqlFilter(Predicate<String> predicate)Set a predicate filtering prepared statements that the connection will cache.SqlConnectOptionsSqlConnectOptions. setPreparedStatementCacheSqlLimit(int preparedStatementCacheSqlLimit)Set the maximum length of prepared statement SQL string that the connection will cache.SqlConnectOptionsSqlConnectOptions. setProperties(Map<String,String> properties)Set properties for this client, which will be sent to server at the connection start.SqlConnectOptionsSqlConnectOptions. setReconnectAttempts(int attempts)Set the value of reconnect attemptsSqlConnectOptionsSqlConnectOptions. setReconnectInterval(long interval)Set the reconnect intervalSqlConnectOptionsSqlConnectOptions. setSslOptions(ClientSSLOptions sslOptions)SqlConnectOptionsSqlConnectOptions. setTracingPolicy(TracingPolicy tracingPolicy)Set the tracing policy for the client behavior when Vert.x has tracing enabled.SqlConnectOptionsSqlConnectOptions. setUser(String user)Specify the user account to be used for the authentication.Methods in io.vertx.sqlclient with parameters of type SqlConnectOptions Modifier and Type Method Description ClientBuilder<C>ClientBuilder. connectingTo(SqlConnectOptions database)Configure thedatabasethe client should connect to.static PoolPool. pool(Vertx vertx, SqlConnectOptions database, PoolOptions options)Create a connection pool to thedatabasewith the givenoptions.static PoolPool. pool(SqlConnectOptions connectOptions)LikePool.pool(SqlConnectOptions, PoolOptions)with default options.static PoolPool. pool(SqlConnectOptions database, PoolOptions options)LikePool.pool(Vertx, SqlConnectOptions, PoolOptions)with a Vert.x instance created automatically.Method parameters in io.vertx.sqlclient with type arguments of type SqlConnectOptions Modifier and Type Method Description ClientBuilder<C>ClientBuilder. connectingTo(Supplier<Future<SqlConnectOptions>> supplier)Configure thedatabasethe client should connect to.ClientBuilder<C>ClientBuilder. connectingTo(List<SqlConnectOptions> databases)Configure thedatabasethe client should connect to.Constructors in io.vertx.sqlclient with parameters of type SqlConnectOptions Constructor Description SqlConnectOptions(SqlConnectOptions other) -
Uses of SqlConnectOptions in io.vertx.sqlclient.spi
Classes in io.vertx.sqlclient.spi with type parameters of type SqlConnectOptions Modifier and Type Interface Description interfaceConnectionFactory<C extends SqlConnectOptions>A connection factory, can be obtained fromDriver.createConnectionFactory(io.vertx.core.Vertx, io.vertx.core.net.NetClientOptions)interfaceDriver<C extends SqlConnectOptions>An entry point to the Vertx Reactive SQL Client Every driver must implement this interface.Methods in io.vertx.sqlclient.spi that return SqlConnectOptions Modifier and Type Method Description SqlConnectOptionsDriver. parseConnectionUri(String uri)Methods in io.vertx.sqlclient.spi with parameters of type SqlConnectOptions Modifier and Type Method Description booleanDriver. acceptsOptions(SqlConnectOptions connectOptions)CDriver. downcast(SqlConnectOptions connectOptions)Downcast the connect options to the specific driver options.
-