MongoClient |
MongoClient.bulkWrite(String collection,
List<io.vertx.ext.mongo.BulkOperation> operations) |
Execute a bulk operation.
|
MongoClient |
MongoClient.bulkWrite(String collection,
List<io.vertx.ext.mongo.BulkOperation> operations,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientBulkWriteResult>> resultHandler) |
Execute a bulk operation.
|
MongoClient |
MongoClient.bulkWriteWithOptions(String collection,
List<io.vertx.ext.mongo.BulkOperation> operations,
io.vertx.ext.mongo.BulkWriteOptions bulkWriteOptions) |
Execute a bulk operation with the specified write options.
|
MongoClient |
MongoClient.bulkWriteWithOptions(String collection,
List<io.vertx.ext.mongo.BulkOperation> operations,
io.vertx.ext.mongo.BulkWriteOptions bulkWriteOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientBulkWriteResult>> resultHandler) |
Execute a bulk operation with the specified write options.
|
MongoClient |
MongoClient.count(String collection,
io.vertx.core.json.JsonObject query) |
Count matching documents in a collection.
|
MongoClient |
MongoClient.count(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> resultHandler) |
Count matching documents in a collection.
|
MongoClient |
MongoClient.countWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.ext.mongo.CountOptions countOptions) |
Count matching documents in a collection.
|
MongoClient |
MongoClient.countWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.ext.mongo.CountOptions countOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> resultHandler) |
Count matching documents in a collection.
|
static MongoClient |
MongoClient.create(Vertx vertx,
io.vertx.core.json.JsonObject config) |
Create a Mongo client which maintains its own data source.
|
MongoClient |
MongoClient.createCollection(String collectionName) |
Create a new collection
|
MongoClient |
MongoClient.createCollection(String collectionName,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Create a new collection
|
MongoClient |
MongoClient.createCollectionWithOptions(String collectionName,
io.vertx.ext.mongo.CreateCollectionOptions collectionOptions) |
Create a new collection with options
|
MongoClient |
MongoClient.createCollectionWithOptions(String collectionName,
io.vertx.ext.mongo.CreateCollectionOptions collectionOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Create a new collection with options
|
MongoClient |
MongoClient.createDefaultGridFsBucketService() |
|
MongoClient |
MongoClient.createDefaultGridFsBucketService(io.vertx.core.Handler<io.vertx.core.AsyncResult<MongoGridFsClient>> resultHandler) |
|
MongoClient |
MongoClient.createGridFsBucketService(String bucketName) |
|
MongoClient |
MongoClient.createGridFsBucketService(String bucketName,
io.vertx.core.Handler<io.vertx.core.AsyncResult<MongoGridFsClient>> resultHandler) |
|
MongoClient |
MongoClient.createIndex(String collection,
io.vertx.core.json.JsonObject key) |
Creates an index.
|
MongoClient |
MongoClient.createIndex(String collection,
io.vertx.core.json.JsonObject key,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Creates an index.
|
MongoClient |
MongoClient.createIndexes(String collection,
List<io.vertx.ext.mongo.IndexModel> indexes) |
creates an indexes
|
MongoClient |
MongoClient.createIndexes(String collection,
List<io.vertx.ext.mongo.IndexModel> indexes,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
creates an indexes
|
MongoClient |
MongoClient.createIndexWithOptions(String collection,
io.vertx.core.json.JsonObject key,
io.vertx.ext.mongo.IndexOptions options) |
Creates an index.
|
MongoClient |
MongoClient.createIndexWithOptions(String collection,
io.vertx.core.json.JsonObject key,
io.vertx.ext.mongo.IndexOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Creates an index.
|
static MongoClient |
MongoClient.createShared(Vertx vertx,
io.vertx.core.json.JsonObject config) |
|
static MongoClient |
MongoClient.createShared(Vertx vertx,
io.vertx.core.json.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) |
Gets the distinct values of the specified field name.
|
MongoClient |
MongoClient.distinct(String collection,
String fieldName,
String resultClassname,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray>> resultHandler) |
Gets the distinct values of the specified field name.
|
MongoClient |
MongoClient.distinct(String collection,
String fieldName,
String resultClassname,
io.vertx.ext.mongo.DistinctOptions distinctOptions) |
Gets the distinct values of the specified field name.
|
MongoClient |
MongoClient.distinct(String collection,
String fieldName,
String resultClassname,
io.vertx.ext.mongo.DistinctOptions distinctOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray>> resultHandler) |
Gets the distinct values of the specified field name.
|
MongoClient |
MongoClient.distinctWithQuery(String collection,
String fieldName,
String resultClassname,
io.vertx.core.json.JsonObject query) |
Gets the distinct values of the specified field name filtered by specified query.
|
MongoClient |
MongoClient.distinctWithQuery(String collection,
String fieldName,
String resultClassname,
io.vertx.core.json.JsonObject query,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray>> resultHandler) |
Gets the distinct values of the specified field name filtered by specified query.
|
MongoClient |
MongoClient.distinctWithQuery(String collection,
String fieldName,
String resultClassname,
io.vertx.core.json.JsonObject query,
io.vertx.ext.mongo.DistinctOptions distinctOptions) |
Gets the distinct values of the specified field name filtered by specified query.
|
MongoClient |
MongoClient.distinctWithQuery(String collection,
String fieldName,
String resultClassname,
io.vertx.core.json.JsonObject query,
io.vertx.ext.mongo.DistinctOptions distinctOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray>> resultHandler) |
Gets the distinct values of the specified field name filtered by specified query.
|
MongoClient |
MongoClient.dropCollection(String collection) |
Drop a collection
|
MongoClient |
MongoClient.dropCollection(String collection,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Drop a collection
|
MongoClient |
MongoClient.dropIndex(String collection,
String indexName) |
Drops the index given its name.
|
MongoClient |
MongoClient.dropIndex(String collection,
String indexName,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Drops the index given its name.
|
MongoClient |
MongoClient.find(String collection,
io.vertx.core.json.JsonObject query) |
Find matching documents in the specified collection
|
MongoClient |
MongoClient.find(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.core.json.JsonObject>>> resultHandler) |
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject fields) |
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject fields,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler) |
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findOneAndDelete(String collection,
io.vertx.core.json.JsonObject query) |
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDelete(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler) |
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDeleteWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.ext.mongo.FindOptions findOptions) |
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndDeleteWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.ext.mongo.FindOptions findOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler) |
Find a single matching document in the specified collection and delete it.
|
MongoClient |
MongoClient.findOneAndReplace(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject replace) |
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplace(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject replace,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler) |
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplaceWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject replace,
io.vertx.ext.mongo.FindOptions findOptions,
io.vertx.ext.mongo.UpdateOptions updateOptions) |
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndReplaceWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject replace,
io.vertx.ext.mongo.FindOptions findOptions,
io.vertx.ext.mongo.UpdateOptions updateOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler) |
Find a single matching document in the specified collection and replace it.
|
MongoClient |
MongoClient.findOneAndUpdate(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject update) |
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdate(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject update,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler) |
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdateWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject update,
io.vertx.ext.mongo.FindOptions findOptions,
io.vertx.ext.mongo.UpdateOptions updateOptions) |
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findOneAndUpdateWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject update,
io.vertx.ext.mongo.FindOptions findOptions,
io.vertx.ext.mongo.UpdateOptions updateOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler) |
Find a single matching document in the specified collection and update it.
|
MongoClient |
MongoClient.findWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.ext.mongo.FindOptions options) |
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.findWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.ext.mongo.FindOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.core.json.JsonObject>>> resultHandler) |
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.getCollections() |
Get a list of all collections in the database.
|
MongoClient |
MongoClient.getCollections(io.vertx.core.Handler<io.vertx.core.AsyncResult<List<String>>> resultHandler) |
Get a list of all collections in the database.
|
MongoClient |
MongoClient.insert(String collection,
io.vertx.core.json.JsonObject document) |
Insert a document in the specified collection
|
MongoClient |
MongoClient.insert(String collection,
io.vertx.core.json.JsonObject document,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> resultHandler) |
Insert a document in the specified collection
|
MongoClient |
MongoClient.insertWithOptions(String collection,
io.vertx.core.json.JsonObject document,
io.vertx.ext.mongo.WriteOption writeOption) |
Insert a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.insertWithOptions(String collection,
io.vertx.core.json.JsonObject document,
io.vertx.ext.mongo.WriteOption writeOption,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> resultHandler) |
Insert a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.listIndexes(String collection) |
Get all the indexes in this collection.
|
MongoClient |
MongoClient.listIndexes(String collection,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray>> resultHandler) |
Get all the indexes in this collection.
|
static MongoClient |
MongoClient.newInstance(io.vertx.ext.mongo.MongoClient arg) |
|
MongoClient |
MongoClient.removeDocument(String collection,
io.vertx.core.json.JsonObject query) |
Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocument(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientDeleteResult>> resultHandler) |
Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocuments(String collection,
io.vertx.core.json.JsonObject query) |
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocuments(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientDeleteResult>> resultHandler) |
Remove matching documents from a collection and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentsWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.ext.mongo.WriteOption writeOption) |
Remove matching documents from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentsWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.ext.mongo.WriteOption writeOption,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.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,
io.vertx.core.json.JsonObject query,
io.vertx.ext.mongo.WriteOption writeOption) |
Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.removeDocumentWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.ext.mongo.WriteOption writeOption,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientDeleteResult>> resultHandler) |
Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result
|
MongoClient |
MongoClient.replaceDocuments(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject replace) |
Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceDocuments(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject replace,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientUpdateResult>> resultHandler) |
Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceDocumentsWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject replace,
io.vertx.ext.mongo.UpdateOptions options) |
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.replaceDocumentsWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject replace,
io.vertx.ext.mongo.UpdateOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientUpdateResult>> resultHandler) |
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.runCommand(String commandName,
io.vertx.core.json.JsonObject command) |
Run an arbitrary MongoDB command.
|
MongoClient |
MongoClient.runCommand(String commandName,
io.vertx.core.json.JsonObject command,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler) |
Run an arbitrary MongoDB command.
|
MongoClient |
MongoClient.save(String collection,
io.vertx.core.json.JsonObject document) |
Save a document in the specified collection
|
MongoClient |
MongoClient.save(String collection,
io.vertx.core.json.JsonObject document,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> resultHandler) |
Save a document in the specified collection
|
MongoClient |
MongoClient.saveWithOptions(String collection,
io.vertx.core.json.JsonObject document,
io.vertx.ext.mongo.WriteOption writeOption) |
Save a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.saveWithOptions(String collection,
io.vertx.core.json.JsonObject document,
io.vertx.ext.mongo.WriteOption writeOption,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> resultHandler) |
Save a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.updateCollection(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonArray update) |
Use an aggregation pipeline to update documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollection(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonArray update,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientUpdateResult>> resultHandler) |
Use an aggregation pipeline to update documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollection(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject update) |
Update matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollection(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject update,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientUpdateResult>> resultHandler) |
Update matching documents in the specified collection and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollectionWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonArray update,
io.vertx.ext.mongo.UpdateOptions options) |
Use an aggregation pipeline to update documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollectionWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonArray update,
io.vertx.ext.mongo.UpdateOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientUpdateResult>> resultHandler) |
Use an aggregation pipeline to update documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollectionWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject update,
io.vertx.ext.mongo.UpdateOptions options) |
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
MongoClient |
MongoClient.updateCollectionWithOptions(String collection,
io.vertx.core.json.JsonObject query,
io.vertx.core.json.JsonObject update,
io.vertx.ext.mongo.UpdateOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientUpdateResult>> resultHandler) |
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|