public class BulkWriteError extends WriteError
| 构造器和说明 |
|---|
BulkWriteError(int code,
java.lang.String message,
BsonDocument details,
int index)
Constructs a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getIndex()
The index of the item in the bulk write operation with this error.
|
int |
hashCode() |
java.lang.String |
toString() |
getCategory, getCode, getDetails, getMessagepublic BulkWriteError(int code,
java.lang.String message,
BsonDocument details,
int index)
code - the error codemessage - the error messagedetails - details about the errorindex - the index of the item in the bulk write operation that had this errorpublic int getIndex()
public boolean equals(java.lang.Object o)
equals 在类中 WriteErrorpublic int hashCode()
hashCode 在类中 WriteErrorpublic java.lang.String toString()
toString 在类中 WriteError