vertx / io.vertx.rxjava.servicediscovery.types / MongoDataSource

# MongoDataSource

`open class MongoDataSource`

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

### Constructors

<init> | `MongoDataSource(delegate: MongoDataSource)`

### Properties

__TYPE_ARG | `static val __TYPE_ARG: TypeArg<MongoDataSource>`

### Functions

createRecord | `open static fun createRecord(name: String, location: JsonObject, metadata: JsonObject): Record` Convenient method to create a record for a Mongo data source.
equals | `open fun equals(other: Any?): Boolean`
getDelegate | `open fun getDelegate(): MongoDataSource`
getMongoClient | `open static fun getMongoClient(discovery: ServiceDiscovery, filter: JsonObject, resultHandler: Handler<AsyncResult<MongoClient>>): Unit` `open static fun getMongoClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, resultHandler: Handler<AsyncResult<MongoClient>>): Unit` `open static fun getMongoClient(discovery: ServiceDiscovery, filter: JsonObject, consumerConfiguration: JsonObject, resultHandler: Handler<AsyncResult<MongoClient>>): Unit` Convenient method that looks for a Mongo datasource source and provides the configured io.vertx.rxjava.ext.mongo.MongoClient. 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: MongoDataSource): MongoDataSource`
rxGetMongoClient | `open static fun rxGetMongoClient(discovery: ServiceDiscovery, filter: JsonObject): Single<MongoClient>` `open static fun rxGetMongoClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>): Single<MongoClient>` `open static fun rxGetMongoClient(discovery: ServiceDiscovery, filter: JsonObject, consumerConfiguration: JsonObject): Single<MongoClient>` Convenient method that looks for a Mongo datasource source and provides the configured io.vertx.rxjava.ext.mongo.MongoClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
toString | `open fun toString(): String`