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.setCollation(CollationOptions collation) |
|
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.setHint(JsonObject hint) |
Sets the operation hint
|
BulkOperation |
BulkOperation.setHintString(String hintString) |
Sets the operation hint string
|
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
|