Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
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 | Field and Description |
---|---|
private java.util.List<BulkWriteError> |
MongoBulkWriteException.errors |
Modifier and Type | Method and Description |
---|---|
java.util.List<BulkWriteError> |
MongoBulkWriteException.getWriteErrors()
The list of errors, which will not be null, but may be empty (if the write concern error is not null).
|
Modifier and Type | Method and Description |
---|---|
(package private) static java.util.List<BulkWriteError> |
BulkWriteHelper.translateWriteErrors(java.util.List<BulkWriteError> errors) |
Constructor and Description |
---|
MongoBulkWriteException(BulkWriteResult writeResult,
java.util.List<BulkWriteError> writeErrors,
WriteConcernError writeConcernError,
ServerAddress serverAddress)
Constructs a new instance.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Set<BulkWriteError> |
BulkWriteBatchCombiner.writeErrors |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<BulkWriteError> |
WriteCommandResultHelper.getWriteErrors(BsonDocument result) |
Modifier and Type | Method and Description |
---|---|
void |
BulkWriteBatchCombiner.addWriteErrorResult(BulkWriteError writeError,
IndexMap indexMap)
Add a write error result
|
Modifier and Type | Method and Description |
---|---|
void |
BulkWriteBatchCombiner.addErrorResult(java.util.List<BulkWriteError> writeErrors,
WriteConcernError writeConcernError,
IndexMap indexMap)
Add a list of error results and a write concern error
|
private void |
BulkWriteBatchCombiner.mergeWriteErrors(java.util.List<BulkWriteError> newWriteErrors,
IndexMap indexMap) |
Modifier and Type | Method and Description |
---|---|
(package private) BulkWriteError |
MixedBulkWriteOperation.Run.BaseRunExecutor.getBulkWriteError(WriteConcernException writeException) |
private BulkWriteError |
BaseWriteOperation.getLastError(MongoBulkWriteException e) |