Package | Description |
---|---|
io.vertx.mysqlclient | |
io.vertx.mysqlclient.spi | |
io.vertx.reactivex.mysqlclient | |
io.vertx.rxjava.mysqlclient | |
io.vertx.rxjava3.mysqlclient |
Modifier and Type | Method and Description |
---|---|
MySQLConnectOptions |
MySQLConnectOptions.addCrlPath(String crlPath) |
MySQLConnectOptions |
MySQLConnectOptions.addCrlValue(Buffer crlValue) |
MySQLConnectOptions |
MySQLConnectOptions.addEnabledCipherSuite(String suite) |
MySQLConnectOptions |
MySQLConnectOptions.addEnabledSecureTransportProtocol(String protocol) |
MySQLConnectOptions |
MySQLConnectOptions.addProperty(String key,
String value) |
static MySQLConnectOptions |
MySQLConnectOptions.fromUri(String connectionUri)
Provide a
MySQLConnectOptions configured from a connection URI. |
MySQLConnectOptions |
MySQLConnectOptions.merge(JsonObject other) |
MySQLConnectOptions |
MySQLConnectOptions.removeEnabledSecureTransportProtocol(String protocol) |
MySQLConnectOptions |
MySQLConnectOptions.setAuthenticationPlugin(MySQLAuthenticationPlugin authenticationPlugin)
Set the default
authentication plguin for the client, the option will take effect at the connection start. |
MySQLConnectOptions |
MySQLConnectOptions.setCachePreparedStatements(boolean cachePreparedStatements) |
MySQLConnectOptions |
MySQLConnectOptions.setCharacterEncoding(String characterEncoding)
Set the Java charset for encoding string values, this value is UTF-8 by default.
|
MySQLConnectOptions |
MySQLConnectOptions.setCharset(String charset)
Set the charset for the connection.
|
MySQLConnectOptions |
MySQLConnectOptions.setCollation(String collation)
Set the collation for the connection.
|
MySQLConnectOptions |
MySQLConnectOptions.setConnectTimeout(int connectTimeout) |
MySQLConnectOptions |
MySQLConnectOptions.setDatabase(String database) |
MySQLConnectOptions |
MySQLConnectOptions.setEnabledSecureTransportProtocols(Set<String> enabledSecureTransportProtocols) |
MySQLConnectOptions |
MySQLConnectOptions.setHost(String host) |
MySQLConnectOptions |
MySQLConnectOptions.setHostnameVerificationAlgorithm(String hostnameVerificationAlgorithm) |
MySQLConnectOptions |
MySQLConnectOptions.setIdleTimeout(int idleTimeout) |
MySQLConnectOptions |
MySQLConnectOptions.setIdleTimeoutUnit(TimeUnit idleTimeoutUnit) |
MySQLConnectOptions |
MySQLConnectOptions.setJdkSslEngineOptions(JdkSSLEngineOptions sslEngineOptions) |
MySQLConnectOptions |
MySQLConnectOptions.setKeyCertOptions(KeyCertOptions options) |
MySQLConnectOptions |
MySQLConnectOptions.setKeyStoreOptions(JksOptions options) |
MySQLConnectOptions |
MySQLConnectOptions.setLocalAddress(String localAddress) |
MySQLConnectOptions |
MySQLConnectOptions.setLogActivity(boolean logEnabled) |
MySQLConnectOptions |
MySQLConnectOptions.setMetricsName(String metricsName) |
MySQLConnectOptions |
MySQLConnectOptions.setPassword(String password) |
MySQLConnectOptions |
MySQLConnectOptions.setPemKeyCertOptions(PemKeyCertOptions options) |
MySQLConnectOptions |
MySQLConnectOptions.setPemTrustOptions(PemTrustOptions options) |
MySQLConnectOptions |
MySQLConnectOptions.setPfxKeyCertOptions(PfxOptions options) |
MySQLConnectOptions |
MySQLConnectOptions.setPfxTrustOptions(PfxOptions options) |
MySQLConnectOptions |
MySQLConnectOptions.setPort(int port) |
MySQLConnectOptions |
MySQLConnectOptions.setPreparedStatementCacheMaxSize(int preparedStatementCacheMaxSize) |
MySQLConnectOptions |
MySQLConnectOptions.setPreparedStatementCacheSqlFilter(java.util.function.Predicate<String> predicate) |
MySQLConnectOptions |
MySQLConnectOptions.setPreparedStatementCacheSqlLimit(int preparedStatementCacheSqlLimit) |
MySQLConnectOptions |
MySQLConnectOptions.setProperties(Map<String,String> properties) |
MySQLConnectOptions |
MySQLConnectOptions.setProxyOptions(ProxyOptions proxyOptions) |
MySQLConnectOptions |
MySQLConnectOptions.setReceiveBufferSize(int receiveBufferSize) |
MySQLConnectOptions |
MySQLConnectOptions.setReconnectAttempts(int attempts) |
MySQLConnectOptions |
MySQLConnectOptions.setReconnectInterval(long interval) |
MySQLConnectOptions |
MySQLConnectOptions.setReuseAddress(boolean reuseAddress) |
MySQLConnectOptions |
MySQLConnectOptions.setReusePort(boolean reusePort) |
MySQLConnectOptions |
MySQLConnectOptions.setSendBufferSize(int sendBufferSize) |
MySQLConnectOptions |
MySQLConnectOptions.setServerRsaPublicKeyPath(String serverRsaPublicKeyPath)
Set the path of server RSA public key which is mostly used for encrypting password under insecure connections when performing authentication.
|
MySQLConnectOptions |
MySQLConnectOptions.setServerRsaPublicKeyValue(Buffer serverRsaPublicKeyValue)
Set the value of server RSA public key which is mostly used for encrypting password under insecure connections when performing authentication.
|
MySQLConnectOptions |
MySQLConnectOptions.setSoLinger(int soLinger) |
MySQLConnectOptions |
MySQLConnectOptions.setSsl(boolean ssl) |
MySQLConnectOptions |
MySQLConnectOptions.setSslEngineOptions(SSLEngineOptions sslEngineOptions) |
MySQLConnectOptions |
MySQLConnectOptions.setSslHandshakeTimeout(long sslHandshakeTimeout) |
MySQLConnectOptions |
MySQLConnectOptions.setSslHandshakeTimeoutUnit(TimeUnit sslHandshakeTimeoutUnit) |
MySQLConnectOptions |
MySQLConnectOptions.setSslMode(SslMode sslMode)
Set the
SslMode for the client, this option can be used to specify the desired security state of the connection to the server. |
MySQLConnectOptions |
MySQLConnectOptions.setTcpCork(boolean tcpCork) |
MySQLConnectOptions |
MySQLConnectOptions.setTcpFastOpen(boolean tcpFastOpen) |
MySQLConnectOptions |
MySQLConnectOptions.setTcpKeepAlive(boolean tcpKeepAlive) |
MySQLConnectOptions |
MySQLConnectOptions.setTcpNoDelay(boolean tcpNoDelay) |
MySQLConnectOptions |
MySQLConnectOptions.setTcpQuickAck(boolean tcpQuickAck) |
MySQLConnectOptions |
MySQLConnectOptions.setTracingPolicy(TracingPolicy tracingPolicy) |
MySQLConnectOptions |
MySQLConnectOptions.setTrafficClass(int trafficClass) |
MySQLConnectOptions |
MySQLConnectOptions.setTrustAll(boolean trustAll) |
MySQLConnectOptions |
MySQLConnectOptions.setTrustOptions(TrustOptions options) |
MySQLConnectOptions |
MySQLConnectOptions.setTrustStoreOptions(JksOptions options) |
MySQLConnectOptions |
MySQLConnectOptions.setUseAffectedRows(boolean useAffectedRows)
Sets how affected rows are calculated on update/delete/insert, if set to
true an update that effectively
does not change any data returns zero affected rows. |
MySQLConnectOptions |
MySQLConnectOptions.setUseAlpn(boolean useAlpn) |
MySQLConnectOptions |
MySQLConnectOptions.setUser(String user) |
static MySQLConnectOptions |
MySQLConnectOptions.wrap(SqlConnectOptions options) |
Modifier and Type | Method and Description |
---|---|
static Future<MySQLConnection> |
MySQLConnection.connect(Vertx vertx,
MySQLConnectOptions connectOptions)
Like
MySQLConnection.connect(Vertx, MySQLConnectOptions, Handler) but returns a Future of the asynchronous result |
static void |
MySQLConnection.connect(Vertx vertx,
MySQLConnectOptions connectOptions,
Handler<AsyncResult<MySQLConnection>> handler)
Create a connection to MySQL server with the given
connectOptions . |
static void |
MySQLConnectOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
MySQLConnectOptions obj) |
static MySQLPool |
MySQLPool.pool(MySQLConnectOptions database,
PoolOptions options)
Create a connection pool to the MySQL
server configured with the given options . |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions database,
PoolOptions options)
Like
MySQLPool.pool(MySQLConnectOptions, PoolOptions) with a specific Vertx instance. |
static void |
MySQLConnectOptionsConverter.toJson(MySQLConnectOptions obj,
JsonObject json) |
static void |
MySQLConnectOptionsConverter.toJson(MySQLConnectOptions obj,
Map<String,Object> json) |
Modifier and Type | Method and Description |
---|---|
static MySQLPool |
MySQLPool.pool(List<MySQLConnectOptions> databases,
PoolOptions options)
Create a connection pool to the MySQL
databases with round-robin selection. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
List<MySQLConnectOptions> databases,
PoolOptions options)
Like
MySQLPool.pool(List, PoolOptions) with a specific Vertx instance. |
Constructor and Description |
---|
MySQLConnectOptions(MySQLConnectOptions other) |
Modifier and Type | Method and Description |
---|---|
MySQLConnectOptions |
MySQLDriver.parseConnectionUri(String uri) |
Modifier and Type | Method and Description |
---|---|
static void |
MySQLConnection.connect(Vertx vertx,
MySQLConnectOptions connectOptions)
Create a connection to MySQL server with the given
connectOptions . |
static void |
MySQLConnection.connect(Vertx vertx,
MySQLConnectOptions connectOptions,
Handler<AsyncResult<MySQLConnection>> handler)
Create a connection to MySQL server with the given
connectOptions . |
static MySQLPool |
MySQLPool.pool(MySQLConnectOptions database,
PoolOptions options)
Create a connection pool to the MySQL
server configured with the given options . |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions database,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
static Single<MySQLConnection> |
MySQLConnection.rxConnect(Vertx vertx,
MySQLConnectOptions connectOptions)
Create a connection to MySQL server with the given
connectOptions . |
Modifier and Type | Method and Description |
---|---|
static MySQLPool |
MySQLPool.pool(List<MySQLConnectOptions> databases,
PoolOptions options)
Create a connection pool to the MySQL
databases with round-robin selection. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
List<MySQLConnectOptions> databases,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static void |
MySQLConnection.connect(Vertx vertx,
MySQLConnectOptions connectOptions)
Create a connection to MySQL server with the given
connectOptions . |
static void |
MySQLConnection.connect(Vertx vertx,
MySQLConnectOptions connectOptions,
Handler<AsyncResult<MySQLConnection>> handler)
Create a connection to MySQL server with the given
connectOptions . |
static MySQLPool |
MySQLPool.pool(MySQLConnectOptions database,
PoolOptions options)
Create a connection pool to the MySQL
server configured with the given options . |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions database,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
static Single<MySQLConnection> |
MySQLConnection.rxConnect(Vertx vertx,
MySQLConnectOptions connectOptions)
Create a connection to MySQL server with the given
connectOptions . |
Modifier and Type | Method and Description |
---|---|
static MySQLPool |
MySQLPool.pool(List<MySQLConnectOptions> databases,
PoolOptions options)
Create a connection pool to the MySQL
databases with round-robin selection. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
List<MySQLConnectOptions> databases,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static Single<MySQLConnection> |
MySQLConnection.connect(Vertx vertx,
MySQLConnectOptions connectOptions)
Create a connection to MySQL server with the given
connectOptions . |
static MySQLPool |
MySQLPool.pool(MySQLConnectOptions database,
PoolOptions options)
Create a connection pool to the MySQL
server configured with the given options . |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions database,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
static Single<MySQLConnection> |
MySQLConnection.rxConnect(Vertx vertx,
MySQLConnectOptions connectOptions)
Create a connection to MySQL server with the given
connectOptions . |
Modifier and Type | Method and Description |
---|---|
static MySQLPool |
MySQLPool.pool(List<MySQLConnectOptions> databases,
PoolOptions options)
Create a connection pool to the MySQL
databases with round-robin selection. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
List<MySQLConnectOptions> databases,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
Copyright © 2022 Eclipse. All rights reserved.