public class BulkWriteException extends MongoException
MongoException.CursorNotFound, MongoException.DuplicateKey, MongoException.Network
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ServerAddress |
getServerAddress()
The address of the server which performed the bulk write operation.
|
WriteConcernError |
getWriteConcernError()
The write concern error, which may be null (in which case the list of errors will not be empty).
|
java.util.List<BulkWriteError> |
getWriteErrors()
The list of errors, which will not be null, but may be empty (if the write concern error is not null).
|
BulkWriteResult |
getWriteResult()
The result of all successfully processed write operations.
|
int |
hashCode() |
getCode
public BulkWriteResult getWriteResult()
public java.util.List<BulkWriteError> getWriteErrors()
public WriteConcernError getWriteConcernError()
public ServerAddress getServerAddress()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object