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