Package | Description |
---|---|
io.vertx.reactivex.mysqlclient |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<MySQLConnection> |
MySQLConnection.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
static MySQLConnection |
MySQLConnection.cast(SqlConnection sqlConnection)
Cast a to
MySQLConnection . |
MySQLConnection |
MySQLConnection.changeUser(MySQLAuthOptions options)
Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.
|
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) |
MySQLConnection |
MySQLConnection.debug()
Send a DEBUG command to dump debug information to the server's stdout.
|
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) |
MySQLConnection |
MySQLConnection.getInternalStatistics()
Send a STATISTICS command to get a human readable string of the server internal status.
|
MySQLConnection |
MySQLConnection.getInternalStatistics(Handler<AsyncResult<String>> handler)
Send a STATISTICS command to get a human readable string of the server internal status.
|
static MySQLConnection |
MySQLConnection.newInstance(MySQLConnection arg) |
MySQLConnection |
MySQLConnection.ping()
Send a PING command to check if the server is alive.
|
MySQLConnection |
MySQLConnection.ping(Handler<AsyncResult<Void>> handler)
Send a PING command to check if the server is alive.
|
MySQLConnection |
MySQLConnection.prepare(String sql) |
MySQLConnection |
MySQLConnection.prepare(String sql,
Handler<AsyncResult<PreparedStatement>> handler) |
MySQLConnection |
MySQLConnection.resetConnection()
Send a RESET_CONNECTION command to reset the session state.
|
MySQLConnection |
MySQLConnection.resetConnection(Handler<AsyncResult<Void>> handler)
Send a RESET_CONNECTION command to reset the session state.
|
MySQLConnection |
MySQLConnection.setOption(MySQLSetOption option)
Send a SET_OPTION command to set options for the current connection.
|
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)
Send a INIT_DB command to change the default schema of the 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 Single<MySQLConnection> |
MySQLConnection.rxConnect(Vertx vertx,
MySQLConnectOptions connectOptions)
Create a connection to MySQL server with the given
connectOptions . |
static Single<MySQLConnection> |
MySQLConnection.rxConnect(Vertx vertx,
String connectionUri)
|
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)
|
Copyright © 2024 Eclipse. All rights reserved.