Package | Description |
---|---|
io.vertx.mysqlclient | |
io.vertx.reactivex.mysqlclient | |
io.vertx.rxjava.mysqlclient | |
io.vertx.rxjava3.mysqlclient |
Modifier and Type | Method and Description |
---|---|
static MySQLConnection |
MySQLConnection.cast(SqlConnection sqlConnection)
Cast a
SqlConnection to MySQLConnection . |
MySQLConnection |
MySQLConnection.changeUser(MySQLAuthOptions 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.
|
MySQLConnection |
MySQLConnection.closeHandler(Handler<Void> handler)
Set an handler called when the connection is closed.
|
MySQLConnection |
MySQLConnection.debug(Handler<AsyncResult<Void>> handler)
Send a DEBUG command to dump debug information to the server's stdout.
|
MySQLConnection |
MySQLConnection.exceptionHandler(Handler<Throwable> handler)
Set an handler called with connection errors.
|
MySQLConnection |
MySQLConnection.getInternalStatistics(Handler<AsyncResult<String>> handler)
Send a STATISTICS command to get a human readable string of the server internal status.
|
MySQLConnection |
MySQLConnection.ping(Handler<AsyncResult<Void>> handler)
Send a PING command to check if the server is alive.
|
MySQLConnection |
MySQLConnection.prepare(String sql,
Handler<AsyncResult<PreparedStatement>> handler)
Create a prepared statement using the given
sql string. |
MySQLConnection |
MySQLConnection.resetConnection(Handler<AsyncResult<Void>> handler)
Send a RESET_CONNECTION command to reset the session state.
|
MySQLConnection |
MySQLConnection.setOption(MySQLSetOption option,
Handler<AsyncResult<Void>> handler)
Send a SET_OPTION command to set options for the current connection.
|
MySQLConnection |
MySQLConnection.specifySchema(String schemaName,
Handler<AsyncResult<Void>> handler)
Send a INIT_DB command to change the default schema of the connection.
|
Modifier and Type | Method and Description |
---|---|
static Future<MySQLConnection> |
MySQLConnection.connect(Vertx vertx,
MySQLConnectOptions connectOptions)
Like
connect(Vertx, MySQLConnectOptions, Handler) but returns a Future of the asynchronous result |
static Future<MySQLConnection> |
MySQLConnection.connect(Vertx vertx,
String connectionUri)
Like
connect(Vertx, String, Handler) but returns a Future of the asynchronous result |
Modifier and Type | Method and Description |
---|---|
static void |
MySQLConnection.connect(Vertx vertx,
MySQLConnectOptions connectOptions,
Handler<AsyncResult<MySQLConnection>> handler)
Create a connection to MySQL server with the given
connectOptions . |
static void |
MySQLConnection.connect(Vertx vertx,
String connectionUri,
Handler<AsyncResult<MySQLConnection>> handler)
Like
connect(Vertx, MySQLConnectOptions, Handler) with options built from connectionUri . |
Modifier and Type | Method and Description |
---|---|
MySQLConnection |
MySQLConnection.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static MySQLConnection |
MySQLConnection.newInstance(MySQLConnection arg) |
Constructor and Description |
---|
MySQLConnection(MySQLConnection delegate) |
Modifier and Type | Method and Description |
---|---|
MySQLConnection |
MySQLConnection.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static MySQLConnection |
MySQLConnection.newInstance(MySQLConnection arg) |
Constructor and Description |
---|
MySQLConnection(MySQLConnection delegate) |
Modifier and Type | Method and Description |
---|---|
MySQLConnection |
MySQLConnection.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static MySQLConnection |
MySQLConnection.newInstance(MySQLConnection arg) |
Constructor and Description |
---|
MySQLConnection(MySQLConnection delegate) |
Copyright © 2023 Eclipse. All rights reserved.