Class BulkWriteUpsert


  • public class BulkWriteUpsert
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getIndex

        public int getIndex()
        Gets the index of the upserted item based on the order it was added to the bulk write operation.
        Returns:
        the index
      • getId

        public java.lang.Object getId()
        Gets the id of the upserted item.
        Returns:
        the id