public class BulkWriteUpsert
extends java.lang.Object
BulkWriteRequestBuilder.upsert()
Constructor and Description |
---|
BulkWriteUpsert(int index,
java.lang.Object id)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getId()
Gets the id of the upserted item.
|
int |
getIndex()
Gets the index of the upserted item based on the order it was added to the bulk write operation.
|
int |
hashCode() |
java.lang.String |
toString() |
public BulkWriteUpsert(int index, java.lang.Object id)
index
- the index of the item that was upsertedid
- the value of the _id of the upserted itempublic int getIndex()
public java.lang.Object getId()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved