| Package | Description |
|---|---|
| io.vertx.mysqlclient | |
| io.vertx.reactivex.mysqlclient | |
| io.vertx.rxjava.mysqlclient |
| Modifier and Type | Method and Description |
|---|---|
MySQLConnection |
MySQLConnection.changeUser(MySQLConnectOptions options,
Handler<AsyncResult<Void>> handler)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
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 connectOptions,
io.vertx.sqlclient.PoolOptions poolOptions)
Create a connection pool to the MySQL server configured with the given
connectOptions and poolOptions. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions connectOptions,
io.vertx.sqlclient.PoolOptions poolOptions)
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) |
| Constructor and Description |
|---|
MySQLConnectOptions(MySQLConnectOptions other) |
| Modifier and Type | Method and Description |
|---|---|
MySQLConnection |
MySQLConnection.changeUser(MySQLConnectOptions options,
Handler<AsyncResult<Void>> handler)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
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 connectOptions,
io.vertx.sqlclient.PoolOptions poolOptions)
Create a connection pool to the MySQL server configured with the given
connectOptions and poolOptions. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions connectOptions,
io.vertx.sqlclient.PoolOptions poolOptions)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
Completable |
MySQLConnection.rxChangeUser(MySQLConnectOptions options)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
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 |
|---|---|
MySQLConnection |
MySQLConnection.changeUser(MySQLConnectOptions options,
Handler<AsyncResult<Void>> handler)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
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 connectOptions,
io.vertx.sqlclient.PoolOptions poolOptions)
Create a connection pool to the MySQL server configured with the given
connectOptions and poolOptions. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions connectOptions,
io.vertx.sqlclient.PoolOptions poolOptions)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
Single<Void> |
MySQLConnection.rxChangeUser(MySQLConnectOptions options)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
static Single<MySQLConnection> |
MySQLConnection.rxConnect(Vertx vertx,
MySQLConnectOptions connectOptions)
Create a connection to MySQL server with the given
connectOptions. |
Copyright © 2019 Eclipse. All rights reserved.