Package | Description |
---|---|
com.mongodb |
This package is the main entry point to the MongoDB Java Driver, and it contains the classes for the existing API from 2.x versions.
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
Modifier and Type | Method and Description |
---|---|
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).
|
Constructor and Description |
---|
MongoBulkWriteException(BulkWriteResult writeResult,
List<BulkWriteError> writeErrors,
WriteConcernError writeConcernError,
ServerAddress serverAddress)
Constructs a new instance.
|
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(List<BulkWriteError> writeErrors,
WriteConcernError writeConcernError,
IndexMap indexMap)
Add a list of error results and a write concern error
|
Copyright © 2016. All Rights Reserved.