Package | Description |
---|---|
io.vertx.ext.mongo | |
io.vertx.reactivex.ext.mongo | |
io.vertx.rxjava.ext.mongo |
Modifier and Type | Method and Description |
---|---|
static BulkOperation |
BulkOperation.createDelete(JsonObject filter)
Create a new delete operation with the given filter
|
static BulkOperation |
BulkOperation.createInsert(JsonObject document)
Create a new insert operation with the given document
|
static BulkOperation |
BulkOperation.createReplace(JsonObject filter,
JsonObject document)
Create a new replace operation with the given filter and replace document
|
static BulkOperation |
BulkOperation.createReplace(JsonObject filter,
JsonObject document,
boolean upsert)
Create a new replace operation with the given filter, replace document, and the upsert flag
|
static BulkOperation |
BulkOperation.createUpdate(JsonObject filter,
JsonObject document)
Create a new update operation with the given filter and update document
|
static BulkOperation |
BulkOperation.createUpdate(JsonObject filter,
JsonObject document,
boolean upsert,
boolean multi)
Create a new update operation with the given filter, update document, the upsert flag, and multi flag
|
BulkOperation |
BulkOperation.setDocument(JsonObject document)
Sets the document, used by insert, replace, and update operations
|
BulkOperation |
BulkOperation.setFilter(JsonObject filter)
Sets the filter document, used by replace, update, and delete operations
|
BulkOperation |
BulkOperation.setMulti(boolean multi)
Sets the multi flag, used by update and delete operations
|
BulkOperation |
BulkOperation.setType(BulkOperationType type)
Sets the operation type
|
BulkOperation |
BulkOperation.setUpsert(boolean upsert)
Sets the upsert flag, used by update and replace operations
|
Modifier and Type | Method and Description |
---|---|
Future<MongoClientBulkWriteResult> |
MongoClient.bulkWrite(String collection,
List<BulkOperation> operations)
Like
MongoClient.bulkWrite(String, List, Handler) but returns a Future of the asynchronous result |
MongoClient |
MongoClient.bulkWrite(String collection,
List<BulkOperation> operations,
Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler)
Execute a bulk operation.
|
Future<MongoClientBulkWriteResult> |
MongoClient.bulkWriteWithOptions(String collection,
List<BulkOperation> operations,
BulkWriteOptions bulkWriteOptions)
Like
MongoClient.bulkWriteWithOptions(String, List, BulkWriteOptions, Handler) but returns a Future of the asynchronous result |
MongoClient |
MongoClient.bulkWriteWithOptions(String collection,
List<BulkOperation> operations,
BulkWriteOptions bulkWriteOptions,
Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler)
Execute a bulk operation with the specified write options.
|
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.bulkWrite(String collection,
List<BulkOperation> operations)
Execute a bulk operation.
|
MongoClient |
MongoClient.bulkWrite(String collection,
List<BulkOperation> operations,
Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler)
Execute a bulk operation.
|
MongoClient |
MongoClient.bulkWriteWithOptions(String collection,
List<BulkOperation> operations,
BulkWriteOptions bulkWriteOptions)
Execute a bulk operation with the specified write options.
|
MongoClient |
MongoClient.bulkWriteWithOptions(String collection,
List<BulkOperation> operations,
BulkWriteOptions bulkWriteOptions,
Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler)
Execute a bulk operation with the specified write options.
|
Maybe<MongoClientBulkWriteResult> |
MongoClient.rxBulkWrite(String collection,
List<BulkOperation> operations)
Execute a bulk operation.
|
Maybe<MongoClientBulkWriteResult> |
MongoClient.rxBulkWriteWithOptions(String collection,
List<BulkOperation> operations,
BulkWriteOptions bulkWriteOptions)
Execute a bulk operation with the specified write options.
|
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.bulkWrite(String collection,
List<BulkOperation> operations)
Execute a bulk operation.
|
MongoClient |
MongoClient.bulkWrite(String collection,
List<BulkOperation> operations,
Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler)
Execute a bulk operation.
|
MongoClient |
MongoClient.bulkWriteWithOptions(String collection,
List<BulkOperation> operations,
BulkWriteOptions bulkWriteOptions)
Execute a bulk operation with the specified write options.
|
MongoClient |
MongoClient.bulkWriteWithOptions(String collection,
List<BulkOperation> operations,
BulkWriteOptions bulkWriteOptions,
Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler)
Execute a bulk operation with the specified write options.
|
Single<MongoClientBulkWriteResult> |
MongoClient.rxBulkWrite(String collection,
List<BulkOperation> operations)
Execute a bulk operation.
|
Single<MongoClientBulkWriteResult> |
MongoClient.rxBulkWriteWithOptions(String collection,
List<BulkOperation> operations,
BulkWriteOptions bulkWriteOptions)
Execute a bulk operation with the specified write options.
|
Copyright © 2021 Eclipse. All rights reserved.