public class DeleteOperation extends BaseWriteOperation
| Constructor and Description |
|---|
DeleteOperation(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
boolean retryWrites,
List<DeleteRequest> deleteRequests)
Construct an instance.
|
DeleteOperation(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
List<DeleteRequest> deleteRequests)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<DeleteRequest> |
getDeleteRequests()
Gets the list of remove requests.
|
bypassDocumentValidation, execute, executeAsync, getBypassDocumentValidation, getNamespace, getWriteConcern, isOrdered@Deprecated public DeleteOperation(MongoNamespace namespace, boolean ordered, WriteConcern writeConcern, List<DeleteRequest> deleteRequests)
DeleteOperation(MongoNamespace, boolean, WriteConcern, boolean, List) insteadnamespace - the database and collection namespace for the operation.ordered - whether the writes are ordered.writeConcern - the write concern for the operation.deleteRequests - the remove requests.public DeleteOperation(MongoNamespace namespace, boolean ordered, WriteConcern writeConcern, boolean retryWrites, List<DeleteRequest> deleteRequests)
namespace - the database and collection namespace for the operation.ordered - whether the writes are ordered.writeConcern - the write concern for the operation.retryWrites - if writes should be retried if they fail due to a network error.deleteRequests - the remove requests.public List<DeleteRequest> getDeleteRequests()
Copyright © 2010 - 2020 Adobe. All Rights Reserved