| Package | Description | 
|---|---|
| io.vertx.ext.mongo | |
| io.vertx.reactivex.ext.mongo | |
| io.vertx.rxjava.ext.mongo | 
| Modifier and Type | Method and Description | 
|---|---|
UpdateOptions | 
UpdateOptions.setMulti(boolean multi)
Set whether multi is enabled 
 | 
UpdateOptions | 
UpdateOptions.setReturningNewDocument(boolean returnNewDocument)
Set whether new document property is enabled. 
 | 
UpdateOptions | 
UpdateOptions.setUpsert(boolean upsert)
Set whether upsert is enabled 
 | 
UpdateOptions | 
UpdateOptions.setWriteOption(WriteOption writeOption)
Set the write option 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
MongoService | 
MongoService.findOneAndReplaceWithOptions(String collection,
                            JsonObject query,
                            JsonObject update,
                            FindOptions findOptions,
                            UpdateOptions updateOptions,
                            Handler<AsyncResult<JsonObject>> resultHandler)  | 
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. 
 | 
MongoService | 
MongoService.findOneAndUpdateWithOptions(String collection,
                           JsonObject query,
                           JsonObject update,
                           FindOptions findOptions,
                           UpdateOptions updateOptions,
                           Handler<AsyncResult<JsonObject>> resultHandler)  | 
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 
 | 
MongoService | 
MongoService.replaceDocumentsWithOptions(String collection,
                           JsonObject query,
                           JsonObject replace,
                           UpdateOptions options,
                           Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)  | 
MongoClient | 
MongoClient.replaceWithOptions(String collection,
                  JsonObject query,
                  JsonObject replace,
                  UpdateOptions options,
                  Handler<AsyncResult<Void>> resultHandler)
Deprecated. 
 
 | 
MongoService | 
MongoService.replaceWithOptions(String collection,
                  JsonObject query,
                  JsonObject replace,
                  UpdateOptions options,
                  Handler<AsyncResult<Void>> resultHandler)
Deprecated.  
 | 
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 
 | 
MongoService | 
MongoService.updateCollectionWithOptions(String collection,
                           JsonObject query,
                           JsonObject update,
                           UpdateOptions options,
                           Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)  | 
MongoClient | 
MongoClient.updateWithOptions(String collection,
                 JsonObject query,
                 JsonObject update,
                 UpdateOptions options,
                 Handler<AsyncResult<Void>> resultHandler)
Deprecated. 
 
 | 
MongoService | 
MongoService.updateWithOptions(String collection,
                 JsonObject query,
                 JsonObject update,
                 UpdateOptions options,
                 Handler<AsyncResult<Void>> resultHandler)
Deprecated.  
 | 
| Constructor and Description | 
|---|
UpdateOptions(UpdateOptions other)
Copy constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
MongoService | 
MongoService.findOneAndReplaceWithOptions(String collection,
                            JsonObject query,
                            JsonObject update,
                            FindOptions findOptions,
                            UpdateOptions updateOptions,
                            Handler<AsyncResult<JsonObject>> resultHandler)  | 
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. 
 | 
MongoService | 
MongoService.findOneAndUpdateWithOptions(String collection,
                           JsonObject query,
                           JsonObject update,
                           FindOptions findOptions,
                           UpdateOptions updateOptions,
                           Handler<AsyncResult<JsonObject>> resultHandler)  | 
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 
 | 
MongoService | 
MongoService.replaceDocumentsWithOptions(String collection,
                           JsonObject query,
                           JsonObject replace,
                           UpdateOptions options,
                           Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)  | 
MongoClient | 
MongoClient.replaceWithOptions(String collection,
                  JsonObject query,
                  JsonObject replace,
                  UpdateOptions options,
                  Handler<AsyncResult<Void>> resultHandler)
Deprecated.  
 | 
MongoService | 
MongoService.replaceWithOptions(String collection,
                  JsonObject query,
                  JsonObject replace,
                  UpdateOptions options,
                  Handler<AsyncResult<Void>> resultHandler)
Deprecated.  
 | 
Maybe<JsonObject> | 
MongoClient.rxFindOneAndReplaceWithOptions(String collection,
                              JsonObject query,
                              JsonObject replace,
                              FindOptions findOptions,
                              UpdateOptions updateOptions)
Find a single matching document in the specified collection and replace it. 
 | 
Maybe<JsonObject> | 
MongoService.rxFindOneAndReplaceWithOptions(String collection,
                              JsonObject query,
                              JsonObject update,
                              FindOptions findOptions,
                              UpdateOptions updateOptions)  | 
Maybe<JsonObject> | 
MongoClient.rxFindOneAndUpdateWithOptions(String collection,
                             JsonObject query,
                             JsonObject update,
                             FindOptions findOptions,
                             UpdateOptions updateOptions)
Find a single matching document in the specified collection and update it. 
 | 
Maybe<JsonObject> | 
MongoService.rxFindOneAndUpdateWithOptions(String collection,
                             JsonObject query,
                             JsonObject update,
                             FindOptions findOptions,
                             UpdateOptions updateOptions)  | 
Maybe<MongoClientUpdateResult> | 
MongoClient.rxReplaceDocumentsWithOptions(String collection,
                             JsonObject query,
                             JsonObject replace,
                             UpdateOptions options)
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result 
 | 
Maybe<MongoClientUpdateResult> | 
MongoService.rxReplaceDocumentsWithOptions(String collection,
                             JsonObject query,
                             JsonObject replace,
                             UpdateOptions options)  | 
Completable | 
MongoClient.rxReplaceWithOptions(String collection,
                    JsonObject query,
                    JsonObject replace,
                    UpdateOptions options)
Deprecated.  
 | 
Completable | 
MongoService.rxReplaceWithOptions(String collection,
                    JsonObject query,
                    JsonObject replace,
                    UpdateOptions options)
Deprecated.  
 | 
Maybe<MongoClientUpdateResult> | 
MongoClient.rxUpdateCollectionWithOptions(String collection,
                             JsonObject query,
                             JsonObject update,
                             UpdateOptions options)
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result 
 | 
Maybe<MongoClientUpdateResult> | 
MongoService.rxUpdateCollectionWithOptions(String collection,
                             JsonObject query,
                             JsonObject update,
                             UpdateOptions options)  | 
Completable | 
MongoClient.rxUpdateWithOptions(String collection,
                   JsonObject query,
                   JsonObject update,
                   UpdateOptions options)
Deprecated.  
 | 
Completable | 
MongoService.rxUpdateWithOptions(String collection,
                   JsonObject query,
                   JsonObject update,
                   UpdateOptions options)
Deprecated.  
 | 
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 
 | 
MongoService | 
MongoService.updateCollectionWithOptions(String collection,
                           JsonObject query,
                           JsonObject update,
                           UpdateOptions options,
                           Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)  | 
MongoClient | 
MongoClient.updateWithOptions(String collection,
                 JsonObject query,
                 JsonObject update,
                 UpdateOptions options,
                 Handler<AsyncResult<Void>> resultHandler)
Deprecated.  
 | 
MongoService | 
MongoService.updateWithOptions(String collection,
                 JsonObject query,
                 JsonObject update,
                 UpdateOptions options,
                 Handler<AsyncResult<Void>> resultHandler)
Deprecated.  
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
MongoService | 
MongoService.findOneAndReplaceWithOptions(String collection,
                            JsonObject query,
                            JsonObject update,
                            FindOptions findOptions,
                            UpdateOptions updateOptions,
                            Handler<AsyncResult<JsonObject>> resultHandler)  | 
Observable<JsonObject> | 
MongoClient.findOneAndReplaceWithOptionsObservable(String collection,
                                      JsonObject query,
                                      JsonObject replace,
                                      FindOptions findOptions,
                                      UpdateOptions updateOptions)
 | 
Observable<JsonObject> | 
MongoService.findOneAndReplaceWithOptionsObservable(String collection,
                                      JsonObject query,
                                      JsonObject update,
                                      FindOptions findOptions,
                                      UpdateOptions updateOptions)
Deprecated.  
 | 
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. 
 | 
MongoService | 
MongoService.findOneAndUpdateWithOptions(String collection,
                           JsonObject query,
                           JsonObject update,
                           FindOptions findOptions,
                           UpdateOptions updateOptions,
                           Handler<AsyncResult<JsonObject>> resultHandler)  | 
Observable<JsonObject> | 
MongoClient.findOneAndUpdateWithOptionsObservable(String collection,
                                     JsonObject query,
                                     JsonObject update,
                                     FindOptions findOptions,
                                     UpdateOptions updateOptions)
 | 
Observable<JsonObject> | 
MongoService.findOneAndUpdateWithOptionsObservable(String collection,
                                     JsonObject query,
                                     JsonObject update,
                                     FindOptions findOptions,
                                     UpdateOptions updateOptions)
Deprecated.  
 | 
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 
 | 
MongoService | 
MongoService.replaceDocumentsWithOptions(String collection,
                           JsonObject query,
                           JsonObject replace,
                           UpdateOptions options,
                           Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)  | 
Observable<MongoClientUpdateResult> | 
MongoClient.replaceDocumentsWithOptionsObservable(String collection,
                                     JsonObject query,
                                     JsonObject replace,
                                     UpdateOptions options)
 | 
Observable<MongoClientUpdateResult> | 
MongoService.replaceDocumentsWithOptionsObservable(String collection,
                                     JsonObject query,
                                     JsonObject replace,
                                     UpdateOptions options)
Deprecated.  
 | 
MongoClient | 
MongoClient.replaceWithOptions(String collection,
                  JsonObject query,
                  JsonObject replace,
                  UpdateOptions options,
                  Handler<AsyncResult<Void>> resultHandler)
Deprecated.  
 | 
MongoService | 
MongoService.replaceWithOptions(String collection,
                  JsonObject query,
                  JsonObject replace,
                  UpdateOptions options,
                  Handler<AsyncResult<Void>> resultHandler)
Deprecated.  
 | 
Observable<Void> | 
MongoClient.replaceWithOptionsObservable(String collection,
                            JsonObject query,
                            JsonObject replace,
                            UpdateOptions options)
 | 
Observable<Void> | 
MongoService.replaceWithOptionsObservable(String collection,
                            JsonObject query,
                            JsonObject replace,
                            UpdateOptions options)
Deprecated.  
 | 
Single<JsonObject> | 
MongoClient.rxFindOneAndReplaceWithOptions(String collection,
                              JsonObject query,
                              JsonObject replace,
                              FindOptions findOptions,
                              UpdateOptions updateOptions)
Find a single matching document in the specified collection and replace it. 
 | 
Single<JsonObject> | 
MongoService.rxFindOneAndReplaceWithOptions(String collection,
                              JsonObject query,
                              JsonObject update,
                              FindOptions findOptions,
                              UpdateOptions updateOptions)  | 
Single<JsonObject> | 
MongoClient.rxFindOneAndUpdateWithOptions(String collection,
                             JsonObject query,
                             JsonObject update,
                             FindOptions findOptions,
                             UpdateOptions updateOptions)
Find a single matching document in the specified collection and update it. 
 | 
Single<JsonObject> | 
MongoService.rxFindOneAndUpdateWithOptions(String collection,
                             JsonObject query,
                             JsonObject update,
                             FindOptions findOptions,
                             UpdateOptions updateOptions)  | 
Single<MongoClientUpdateResult> | 
MongoClient.rxReplaceDocumentsWithOptions(String collection,
                             JsonObject query,
                             JsonObject replace,
                             UpdateOptions options)
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result 
 | 
Single<MongoClientUpdateResult> | 
MongoService.rxReplaceDocumentsWithOptions(String collection,
                             JsonObject query,
                             JsonObject replace,
                             UpdateOptions options)  | 
Single<Void> | 
MongoClient.rxReplaceWithOptions(String collection,
                    JsonObject query,
                    JsonObject replace,
                    UpdateOptions options)
Deprecated.  
 | 
Single<Void> | 
MongoService.rxReplaceWithOptions(String collection,
                    JsonObject query,
                    JsonObject replace,
                    UpdateOptions options)
Deprecated.  
 | 
Single<MongoClientUpdateResult> | 
MongoClient.rxUpdateCollectionWithOptions(String collection,
                             JsonObject query,
                             JsonObject update,
                             UpdateOptions options)
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result 
 | 
Single<MongoClientUpdateResult> | 
MongoService.rxUpdateCollectionWithOptions(String collection,
                             JsonObject query,
                             JsonObject update,
                             UpdateOptions options)  | 
Single<Void> | 
MongoClient.rxUpdateWithOptions(String collection,
                   JsonObject query,
                   JsonObject update,
                   UpdateOptions options)
Deprecated.  
 | 
Single<Void> | 
MongoService.rxUpdateWithOptions(String collection,
                   JsonObject query,
                   JsonObject update,
                   UpdateOptions options)
Deprecated.  
 | 
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 
 | 
MongoService | 
MongoService.updateCollectionWithOptions(String collection,
                           JsonObject query,
                           JsonObject update,
                           UpdateOptions options,
                           Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)  | 
Observable<MongoClientUpdateResult> | 
MongoClient.updateCollectionWithOptionsObservable(String collection,
                                     JsonObject query,
                                     JsonObject update,
                                     UpdateOptions options)
 | 
Observable<MongoClientUpdateResult> | 
MongoService.updateCollectionWithOptionsObservable(String collection,
                                     JsonObject query,
                                     JsonObject update,
                                     UpdateOptions options)
Deprecated.  
 | 
MongoClient | 
MongoClient.updateWithOptions(String collection,
                 JsonObject query,
                 JsonObject update,
                 UpdateOptions options,
                 Handler<AsyncResult<Void>> resultHandler)
Deprecated.  
 | 
MongoService | 
MongoService.updateWithOptions(String collection,
                 JsonObject query,
                 JsonObject update,
                 UpdateOptions options,
                 Handler<AsyncResult<Void>> resultHandler)
Deprecated.  
 | 
Observable<Void> | 
MongoClient.updateWithOptionsObservable(String collection,
                           JsonObject query,
                           JsonObject update,
                           UpdateOptions options)
 | 
Observable<Void> | 
MongoService.updateWithOptionsObservable(String collection,
                           JsonObject query,
                           JsonObject update,
                           UpdateOptions options)
Deprecated.  
 | 
Copyright © 2023 Eclipse. All rights reserved.