public class BulkWriteUpsert extends Object
BulkWriteRequestBuilder.upsert()
Constructor and Description |
---|
BulkWriteUpsert(int index,
Object id)
Constructs an instance.
|
public BulkWriteUpsert(int index, Object id)
index
- the index of the item that was upsertedid
- the value of the _id of the upserted itempublic int getIndex()
public Object getId()