Class DeleteResult


  • public class DeleteResult
    extends Object
    • Constructor Detail

      • DeleteResult

        public DeleteResult()
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getId

        public String getId()
        The id of the deleted document
        Returns:
        the document id
      • isDeleted

        public boolean isDeleted()
        Whether the document was successfully deleted
        Returns:
        true if the document was deleted, otherwise false
      • setId

        public DeleteResult setId​(String id)
        The id of the deleted document
        Parameters:
        id - the document id
        Returns:
        this.
      • setDeleted

        public DeleteResult setDeleted​(boolean deleted)
        Whether the document was successfully deleted
        Parameters:
        deleted - whether the document was deleted
        Returns:
        this.