Modifier and Type | Method and Description |
---|---|
static MongoAuth |
MongoAuth.create(MongoClient mongoClient,
JsonObject config)
Creates an instance of MongoAuth by using the given
MongoClient and configuration object. |
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
MongoClient |
MongoClient.createCollection(String collectionName,
Handler<AsyncResult<Void>> resultHandler)
Create a new collection
|
MongoClient |
MongoClient.createIndex(String collection,
JsonObject key,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
MongoClient |
MongoClient.createIndexWithOptions(String collection,
JsonObject key,
IndexOptions options,
Handler<AsyncResult<Void>> resultHandler)
Creates an index.
|
static MongoClient |
MongoClient.createNonShared(Vertx vertx,
JsonObject config)
Create a Mongo client which maintains its own data source.
|
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config)
Like
createShared(io.vertx.core.Vertx, JsonObject, String) but with the default data source name |
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a Mongo client which shares its data source with any other Mongo clients created with the same
data source name
|
MongoClient |
MongoClient.distinct(String collection,
String fieldName,
String resultClassname,
Handler<AsyncResult<JsonArray>> resultHandler)
Gets the distinct values of the specified field name.
|
MongoClient |
MongoClient.distinctBatch(String collection,
String fieldName,
String resultClassname,
Handler<AsyncResult<JsonObject>> resultHandler)
Gets the distinct values of the specified field name.
|
MongoClient |
MongoClient.dropCollection(String collection,
Handler<AsyncResult<Void>> resultHandler)
Drop a collection
|
MongoClient |
MongoClient.dropIndex(String collection,
String indexName,
Handler<AsyncResult<Void>> resultHandler)
Drops the index given its name.
|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findBatch(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find matching documents in the specified collection.
|
MongoClient |
MongoClient.findBatchWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<JsonObject>> resultHandler)
Find matching documents in the specified collection, specifying options.
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findOneAndDelete(String collection,
JsonObject query,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDeleteWithOptions(String collection,
JsonObject query,
FindOptions findOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndReplace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndUpdate(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.getCollections(Handler<AsyncResult<List<String>>> resultHandler)
Get a list of all collections in the database.
|
MongoClient |
MongoClient.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection
|
MongoClient |
MongoClient.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.listIndexes(String collection,
Handler<AsyncResult<JsonArray>> resultHandler)
Get all the indexes in this collection.
|
MongoClient |
MongoClient.remove(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeDocument(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocuments(String collection,
JsonObject query,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentsWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove matching documents from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.removeWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.replace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.replaceDocuments(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.runCommand(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
MongoClient |
MongoClient.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection
|
MongoClient |
MongoClient.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.update(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
MongoClient |
MongoClient.updateCollection(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Update matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MongoAuth |
MongoAuth_GroovyStaticExtension.create(MongoAuth j_receiver,
MongoClient mongoClient,
Map<String,Object> config) |
Modifier and Type | Method and Description |
---|---|
static MongoClient |
MongoClient_GroovyExtension.count(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Long>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.createIndex(MongoClient j_receiver,
String collection,
Map<String,Object> key,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.createIndexWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> key,
Map<String,Object> options,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyStaticExtension.createNonShared(MongoClient j_receiver,
Vertx vertx,
Map<String,Object> config) |
static MongoClient |
MongoClient_GroovyStaticExtension.createShared(MongoClient j_receiver,
Vertx vertx,
Map<String,Object> config) |
static MongoClient |
MongoClient_GroovyStaticExtension.createShared(MongoClient j_receiver,
Vertx vertx,
Map<String,Object> config,
String dataSourceName) |
static MongoClient |
MongoClient_GroovyExtension.distinct(MongoClient j_receiver,
String collection,
String fieldName,
String resultClassname,
Handler<AsyncResult<List<Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.distinctBatch(MongoClient j_receiver,
String collection,
String fieldName,
String resultClassname,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.find(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<List<Map<String,Object>>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findBatch(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findBatchWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> options,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOne(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> fields,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOneAndDelete(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOneAndDeleteWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> findOptions,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOneAndReplace(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> replace,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOneAndReplaceWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> replace,
Map<String,Object> findOptions,
Map<String,Object> updateOptions,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOneAndUpdate(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> update,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOneAndUpdateWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> update,
Map<String,Object> findOptions,
Map<String,Object> updateOptions,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> options,
Handler<AsyncResult<List<Map<String,Object>>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.insert(MongoClient j_receiver,
String collection,
Map<String,Object> document,
Handler<AsyncResult<String>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.insertWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.listIndexes(MongoClient j_receiver,
String collection,
Handler<AsyncResult<List<Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.remove(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeDocument(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeDocuments(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeDocumentsWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
WriteOption writeOption,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeDocumentWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
WriteOption writeOption,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeOne(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeOneWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.replace(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> replace,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.replaceDocuments(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> replace,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.replaceDocumentsWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> replace,
Map<String,Object> options,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.replaceWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> replace,
Map<String,Object> options,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.runCommand(MongoClient j_receiver,
String commandName,
Map<String,Object> command,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.save(MongoClient j_receiver,
String collection,
Map<String,Object> document,
Handler<AsyncResult<String>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.saveWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.update(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> update,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.updateCollection(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> update,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.updateCollectionWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> update,
Map<String,Object> options,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.updateWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> update,
Map<String,Object> options,
Handler<AsyncResult<Void>> resultHandler) |
Modifier and Type | Method and Description |
---|---|
static MongoClient |
MongoClient_GroovyExtension.count(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Long>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.createIndex(MongoClient j_receiver,
String collection,
Map<String,Object> key,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.createIndexWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> key,
Map<String,Object> options,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyStaticExtension.createNonShared(MongoClient j_receiver,
Vertx vertx,
Map<String,Object> config) |
static MongoClient |
MongoClient_GroovyStaticExtension.createShared(MongoClient j_receiver,
Vertx vertx,
Map<String,Object> config) |
static MongoClient |
MongoClient_GroovyStaticExtension.createShared(MongoClient j_receiver,
Vertx vertx,
Map<String,Object> config,
String dataSourceName) |
static MongoClient |
MongoClient_GroovyExtension.distinct(MongoClient j_receiver,
String collection,
String fieldName,
String resultClassname,
Handler<AsyncResult<List<Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.distinctBatch(MongoClient j_receiver,
String collection,
String fieldName,
String resultClassname,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.find(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<List<Map<String,Object>>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findBatch(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findBatchWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> options,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOne(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> fields,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOneAndDelete(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOneAndDeleteWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> findOptions,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOneAndReplace(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> replace,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOneAndReplaceWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> replace,
Map<String,Object> findOptions,
Map<String,Object> updateOptions,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOneAndUpdate(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> update,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findOneAndUpdateWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> update,
Map<String,Object> findOptions,
Map<String,Object> updateOptions,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.findWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> options,
Handler<AsyncResult<List<Map<String,Object>>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.insert(MongoClient j_receiver,
String collection,
Map<String,Object> document,
Handler<AsyncResult<String>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.insertWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.listIndexes(MongoClient j_receiver,
String collection,
Handler<AsyncResult<List<Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.remove(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeDocument(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeDocuments(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeDocumentsWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
WriteOption writeOption,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeDocumentWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
WriteOption writeOption,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeOne(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeOneWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.removeWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.replace(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> replace,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.replaceDocuments(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> replace,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.replaceDocumentsWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> replace,
Map<String,Object> options,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.replaceWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> replace,
Map<String,Object> options,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.runCommand(MongoClient j_receiver,
String commandName,
Map<String,Object> command,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.save(MongoClient j_receiver,
String collection,
Map<String,Object> document,
Handler<AsyncResult<String>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.saveWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.update(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> update,
Handler<AsyncResult<Void>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.updateCollection(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> update,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.updateCollectionWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> update,
Map<String,Object> options,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static MongoClient |
MongoClient_GroovyExtension.updateWithOptions(MongoClient j_receiver,
String collection,
Map<String,Object> query,
Map<String,Object> update,
Map<String,Object> options,
Handler<AsyncResult<Void>> resultHandler) |
Modifier and Type | Method and Description |
---|---|
static void |
MongoDataSource_GroovyStaticExtension.getMongoClient(MongoDataSource j_receiver,
ServiceDiscovery discovery,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Handler<AsyncResult<MongoClient>> resultHandler) |
static void |
MongoDataSource_GroovyStaticExtension.getMongoClient(MongoDataSource j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Handler<AsyncResult<MongoClient>> resultHandler) |
static void |
MongoDataSource_GroovyStaticExtension.getMongoClient(MongoDataSource j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Map<String,Object> consumerConfiguration,
Handler<AsyncResult<MongoClient>> resultHandler) |
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static MongoClient |
MongoClient.newInstance(MongoClient arg) |
Constructor and Description |
---|
MongoClient(MongoClient delegate) |
Modifier and Type | Method and Description |
---|---|
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
Handler<AsyncResult<MongoClient>> resultHandler)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient . |
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<MongoClient>> resultHandler)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient . |
static void |
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<MongoClient>> resultHandler)
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient . |
Copyright © 2017. All rights reserved.