vertx / io.vertx.rxjava.servicediscovery.types / JDBCDataSource

JDBCDataSource

open class JDBCDataSource

NOTE: This class has been automatically generated from the io.vertx.servicediscovery.types.JDBCDataSource non RX-ified interface using Vert.x codegen.

Constructors

<init>

JDBCDataSource(delegate: JDBCDataSource)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<JDBCDataSource>

Functions

createRecord

open static fun createRecord(name: String, location: JsonObject, metadata: JsonObject): Record

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): JDBCDataSource

getJDBCClient

open static fun getJDBCClient(discovery: ServiceDiscovery, filter: JsonObject, resultHandler: Handler<AsyncResult<JDBCClient>>): Unit
open static fun getJDBCClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, resultHandler: Handler<AsyncResult<JDBCClient>>): Unit
open static fun getJDBCClient(discovery: ServiceDiscovery, filter: JsonObject, consumerConfiguration: JsonObject, resultHandler: Handler<AsyncResult<JDBCClient>>): Unit
open static fun getJDBCClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, consumerConfiguration: JsonObject, resultHandler: Handler<AsyncResult<JDBCClient>>): Unit

Convenient method that looks for a JDBC datasource source and provides the configured io.vertx.rxjava.ext.jdbc.JDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.

hashCode

open fun hashCode(): Int

newInstance

open static fun newInstance(arg: JDBCDataSource): JDBCDataSource

rxGetJDBCClient

open static fun rxGetJDBCClient(discovery: ServiceDiscovery, filter: JsonObject): Single<JDBCClient>
open static fun rxGetJDBCClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>): Single<JDBCClient>
open static fun rxGetJDBCClient(discovery: ServiceDiscovery, filter: JsonObject, consumerConfiguration: JsonObject): Single<JDBCClient>
open static fun rxGetJDBCClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, consumerConfiguration: JsonObject): Single<JDBCClient>

Convenient method that looks for a JDBC datasource source and provides the configured io.vertx.rxjava.ext.jdbc.JDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.

toString

open fun toString(): String