Package com.mongodb
Class BulkWriteUpsert
java.lang.Object
com.mongodb.BulkWriteUpsert
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
Represents an upsert request in a bulk write operation that resulted in an insert. It contains the index of the upsert request in the
operation and the value of the _id field of the inserted document.
- Since:
- 2.12
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BulkWriteUpsert
Deprecated.Constructs an instance.- Parameters:
index
- the index of the item that was upsertedid
- the value of the _id of the upserted item
-
-
Method Details
-
getIndex
public int getIndex()Deprecated.Gets the index of the upserted item based on the order it was added to the bulk write operation.- Returns:
- the index
-
getId
Deprecated.Gets the id of the upserted item.- Returns:
- the id
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-