Class DeleteResult


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getDeletedCount()
      Gets the number of documents deleted.
      boolean isAcknowledged()
      Returns true if the write was acknowledged.
      • Methods inherited from class java.lang.Object

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

      • isAcknowledged

        public boolean isAcknowledged()
        Returns true if the write was acknowledged.
        Returns:
        true if the write was acknowledged
      • getDeletedCount

        public long getDeletedCount()
        Gets the number of documents deleted.
        Returns:
        the number of documents deleted