Uses of Class
io.vertx.mutiny.ext.mongo.MongoClient
Packages that use MongoClient
-
Uses of MongoClient in io.vertx.mutiny.ext.auth.mongo
Methods in io.vertx.mutiny.ext.auth.mongo with parameters of type MongoClientModifier and TypeMethodDescriptionstatic MongoAuthenticationMongoAuthentication.create(MongoClient mongoClient, io.vertx.ext.auth.mongo.MongoAuthenticationOptions options) Creates an instance of MongoAuth by using the givenMongoClientand configuration object.static MongoAuthorizationMongoAuthorization.create(String providerId, MongoClient mongoClient, io.vertx.ext.auth.mongo.MongoAuthorizationOptions options) Creates an instance of MongoAuthorization by using the givenMongoClientand configuration object.static MongoUserUtilMongoUserUtil.create(MongoClient client) Create an instance of the user helper.static MongoUserUtilMongoUserUtil.create(MongoClient client, io.vertx.ext.auth.mongo.MongoAuthenticationOptions authenticationOptions, io.vertx.ext.auth.mongo.MongoAuthorizationOptions authorizationOptions) Create an instance of the user helper with custom queries. -
Uses of MongoClient in io.vertx.mutiny.ext.mongo
Fields in io.vertx.mutiny.ext.mongo with type parameters of type MongoClientMethods in io.vertx.mutiny.ext.mongo that return MongoClientModifier and TypeMethodDescriptionMongoClient.bulkWriteAndForget(String collection, List<io.vertx.ext.mongo.BulkOperation> operations) Execute a bulk operation.MongoClient.bulkWriteWithOptionsAndForget(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.closeAndForget()Close the client and release its resourcesMongoClient.countAndForget(String collection, io.vertx.core.json.JsonObject query) Count matching documents in a collection.MongoClient.countWithOptionsAndForget(String collection, io.vertx.core.json.JsonObject query, io.vertx.ext.mongo.CountOptions countOptions) Count matching documents in a collection.static MongoClientCreate a Mongo client which maintains its own data source.MongoClient.createCollectionAndForget(String collectionName) Create a new collectionMongoClient.createCollectionWithOptionsAndForget(String collectionName, io.vertx.ext.mongo.CreateCollectionOptions collectionOptions) Create a new collection with optionsMongoClient.createDefaultGridFsBucketServiceAndForget()Creates aMongoGridFsClientused to interact with Mongo GridFS.MongoClient.createGridFsBucketServiceAndForget(String bucketName) Creates aMongoGridFsClientused to interact with Mongo GridFS.MongoClient.createIndexAndForget(String collection, io.vertx.core.json.JsonObject key) Creates an index.MongoClient.createIndexesAndForget(String collection, List<io.vertx.ext.mongo.IndexModel> indexes) creates an indexesMongoClient.createIndexWithOptionsAndForget(String collection, io.vertx.core.json.JsonObject key, io.vertx.ext.mongo.IndexOptions options) Creates an index.static MongoClientMongoClient.createShared(Vertx vertx, io.vertx.core.json.JsonObject config) LikecreateShared(io.vertx.mutiny.core.Vertx, JsonObject, String)but with the default data source namestatic MongoClientMongoClient.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 nameMongoClient.distinctAndForget(String collection, String fieldName, String resultClassname) Gets the distinct values of the specified field name.MongoClient.distinctAndForget(String collection, String fieldName, String resultClassname, io.vertx.ext.mongo.DistinctOptions distinctOptions) Gets the distinct values of the specified field name.MongoClient.distinctWithQueryAndForget(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.distinctWithQueryAndForget(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.dropCollectionAndForget(String collection) Drop a collectionMongoClient.dropIndexAndForget(String collection, io.vertx.core.json.JsonObject key) Drops the index given the keys used to create it.MongoClient.dropIndexAndForget(String collection, String indexName) Drops the index given its name.MongoClient.findAndForget(String collection, io.vertx.core.json.JsonObject query) Find matching documents in the specified collectionMongoClient.findOneAndDeleteAndForget(String collection, io.vertx.core.json.JsonObject query) Find a single matching document in the specified collection and delete it.MongoClient.findOneAndDeleteWithOptionsAndForget(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.findOneAndForget(String collection, io.vertx.core.json.JsonObject query, io.vertx.core.json.JsonObject fields) Find a single matching document in the specified collectionMongoClient.findOneAndReplaceAndForget(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.findOneAndReplaceWithOptionsAndForget(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.findOneAndUpdateAndForget(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.findOneAndUpdateWithOptionsAndForget(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.findWithOptionsAndForget(String collection, io.vertx.core.json.JsonObject query, io.vertx.ext.mongo.FindOptions options) Find matching documents in the specified collection, specifying optionsMongoClient.getCollectionsAndForget()Get a list of all collections in the database.MongoClient.insertAndForget(String collection, io.vertx.core.json.JsonObject document) Insert a document in the specified collectionMongoClient.insertWithOptionsAndForget(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 optionMongoClient.listIndexesAndForget(String collection) Get all the indexes in this collection.static MongoClientMongoClient.newInstance(io.vertx.ext.mongo.MongoClient delegate) Creates a new instance of theMongoClient.MongoClient.removeDocumentAndForget(String collection, io.vertx.core.json.JsonObject query) Remove a single matching document from a collection and return the handler withMongoClientDeleteResultresultMongoClient.removeDocumentsAndForget(String collection, io.vertx.core.json.JsonObject query) Remove matching documents from a collection and return the handler withMongoClientDeleteResultresultMongoClient.removeDocumentsWithOptionsAndForget(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 withMongoClientDeleteResultresultMongoClient.removeDocumentWithOptionsAndForget(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 withMongoClientDeleteResultresultMongoClient.renameCollectionAndForget(String oldCollectionName, String newCollectionName) Rename a collectionMongoClient.renameCollectionWithOptionsAndForget(String oldCollectionName, String newCollectionName, io.vertx.ext.mongo.RenameCollectionOptions collectionOptions) Rename a collectionMongoClient.replaceDocumentsAndForget(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 withMongoClientUpdateResultresultMongoClient.replaceDocumentsWithOptionsAndForget(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 withMongoClientUpdateResultresultMongoClient.runCommandAndForget(String commandName, io.vertx.core.json.JsonObject command) Run an arbitrary MongoDB command.MongoClient.saveAndForget(String collection, io.vertx.core.json.JsonObject document) Save a document in the specified collectionMongoClient.saveWithOptionsAndForget(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 optionMongoClient.updateCollectionAndForget(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 withMongoClientUpdateResultresultMongoClient.updateCollectionAndForget(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 withMongoClientUpdateResultresultMongoClient.updateCollectionWithOptionsAndForget(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 withMongoClientUpdateResultresultMongoClient.updateCollectionWithOptionsAndForget(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 withMongoClientUpdateResultresult