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