vertx / io.vertx.rxjava.ext.asyncsql / MySQLClient

MySQLClient

open class MySQLClient : AsyncSQLClient

Represents an asynchronous MySQL client NOTE: This class has been automatically generated from the io.vertx.ext.asyncsql.MySQLClient non RX-ified interface using Vert.x codegen.

Constructors

<init>

MySQLClient(delegate: MySQLClient)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<MySQLClient>

Functions

createNonShared

open static fun createNonShared(vertx: Vertx, config: JsonObject): AsyncSQLClient

Create a MySQL client which maintains its own pool.

createShared

open static fun createShared(vertx: Vertx, config: JsonObject, poolName: String): AsyncSQLClient

Create a MySQL client which shares its data source with any other MySQL clients created with the same data source name

open static fun createShared(vertx: Vertx, config: JsonObject): AsyncSQLClient

Like io.vertx.rxjava.ext.asyncsql.MySQLClient#createShared but with the default pool name

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): MySQLClient

hashCode

open fun hashCode(): Int

newInstance

open static fun newInstance(arg: MySQLClient): MySQLClient

querySingle

open fun querySingle(sql: String, handler: Handler<AsyncResult<JsonArray>>): SQLOperations

querySingleWithParams

open fun querySingleWithParams(sql: String, arguments: JsonArray, handler: Handler<AsyncResult<JsonArray>>): SQLOperations

rxQuerySingle

open fun rxQuerySingle(sql: String): Single<JsonArray>

rxQuerySingleWithParams

open fun rxQuerySingleWithParams(sql: String, arguments: JsonArray): Single<JsonArray>

toString

open fun toString(): String