vertx / io.vertx.reactivex.ext.asyncsql / PostgreSQLClient

PostgreSQLClient

open class PostgreSQLClient : AsyncSQLClient

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

Constructors

<init>

PostgreSQLClient(delegate: PostgreSQLClient)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<PostgreSQLClient>

Functions

createNonShared

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

Create a PostgreSQL client which maintains its own pool.

createShared

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

Create a PostgreSQL client which shares its pool with any other MySQL clients created with the same pool name.

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

Like io.vertx.reactivex.ext.asyncsql.PostgreSQLClient#createShared but with the default pool name

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): PostgreSQLClient

hashCode

open fun hashCode(): Int

newInstance

open static fun newInstance(arg: PostgreSQLClient): PostgreSQLClient

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