## Uses of Class
io.vertx.ext.mongo.BulkOperation

- Packages that use BulkOperation
  Package | Description
  --- | ---
  io.vertx.ext.mongo |
  io.vertx.rxjava.ext.mongo |

- - ### Uses of BulkOperation in io.vertx.ext.mongo

    Methods in io.vertx.ext.mongo that return BulkOperation
    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(BulkOperation.BulkOperationType type)` Sets the operation type
    `BulkOperation` | BulkOperation.`setUpsert(boolean upsert)` Sets the upsert flag, used by update and replace operations

    Method parameters in io.vertx.ext.mongo with type arguments of type BulkOperation
    Modifier and Type | Method and Description
    --- | ---
    `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, Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler)` Execute a bulk operation with the specified write options.

  - ### Uses of BulkOperation in io.vertx.rxjava.ext.mongo

    Method parameters in io.vertx.rxjava.ext.mongo with type arguments of type BulkOperation
    Modifier and Type | Method and Description
    --- | ---
    `MongoClient` | MongoClient.`bulkWrite(String collection, List<BulkOperation> operations, Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler)` Execute a bulk operation.
    `rx.Observable<MongoClientBulkWriteResult>` | MongoClient.`bulkWriteObservable(String collection, List<BulkOperation> operations)` Deprecated. use `MongoClient.rxBulkWrite(java.lang.String, java.util.List<io.vertx.ext.mongo.BulkOperation>)` instead
    `MongoClient` | MongoClient.`bulkWriteWithOptions(String collection, List<BulkOperation> operations, BulkWriteOptions bulkWriteOptions, Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler)` Execute a bulk operation with the specified write options.
    `rx.Observable<MongoClientBulkWriteResult>` | MongoClient.`bulkWriteWithOptionsObservable(String collection, List<BulkOperation> operations, BulkWriteOptions bulkWriteOptions)` Deprecated. use `MongoClient.rxBulkWriteWithOptions(java.lang.String, java.util.List<io.vertx.ext.mongo.BulkOperation>, io.vertx.ext.mongo.BulkWriteOptions)` instead
    `rx.Single<MongoClientBulkWriteResult>` | MongoClient.`rxBulkWrite(String collection, List<BulkOperation> operations)` Execute a bulk operation.
    `rx.Single<MongoClientBulkWriteResult>` | MongoClient.`rxBulkWriteWithOptions(String collection, List<BulkOperation> operations, BulkWriteOptions bulkWriteOptions)` Execute a bulk operation with the specified write options.

Copyright © 2017. All rights reserved.