Package | Description |
---|---|
com.mongodb.bulk |
Contains classes for representing the result of a bulk write operation.
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Method and Description |
---|---|
DeleteRequest |
DeleteRequest.collation(Collation collation)
Sets the collation options
|
DeleteRequest |
DeleteRequest.multi(boolean isMulti)
Sets whether all documents matching the query filter will be removed.
|
Modifier and Type | Field and Description |
---|---|
private DeleteRequest |
DeleteProtocol.deleteRequest |
private DeleteRequest |
DeleteMessage.deleteRequest |
Modifier and Type | Method and Description |
---|---|
WriteConcernResult |
DefaultServerConnection.delete(MongoNamespace namespace,
boolean ordered,
DeleteRequest deleteRequest) |
WriteConcernResult |
Connection.delete(MongoNamespace namespace,
boolean ordered,
DeleteRequest deleteRequest)
Delete the documents using the delete wire protocol and apply the write concern.
|
void |
DefaultServerConnection.deleteAsync(MongoNamespace namespace,
boolean ordered,
DeleteRequest deleteRequest,
SingleResultCallback<WriteConcernResult> callback) |
void |
AsyncConnection.deleteAsync(MongoNamespace namespace,
boolean ordered,
DeleteRequest deleteRequest,
SingleResultCallback<WriteConcernResult> callback)
Delete the documents using the delete wire protocol and apply the write concern asynchronously.
|
Constructor and Description |
---|
DeleteMessage(java.lang.String collectionName,
DeleteRequest deleteRequest,
MessageSettings settings) |
DeleteProtocol(MongoNamespace namespace,
boolean ordered,
DeleteRequest deleteRequest) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<DeleteRequest> |
DeleteOperation.deleteRequests |
Modifier and Type | Method and Description |
---|---|
java.util.List<DeleteRequest> |
DeleteOperation.getDeleteRequests()
Gets the list of remove requests.
|
Constructor and Description |
---|
DeleteOperation(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
boolean retryWrites,
java.util.List<DeleteRequest> deleteRequests)
Construct an instance.
|
DeleteOperation(MongoNamespace namespace,
boolean ordered,
WriteConcern writeConcern,
java.util.List<DeleteRequest> deleteRequests)
Deprecated.
|