Class UpdateResponse


  • public class UpdateResponse
    extends Response
    This response is provided for successful document update operations. Use the wasFound() method to check whether or not the document was actually found.
    Author:
    Simon Thoresen Hult
    • Constructor Detail

      • UpdateResponse

        public UpdateResponse​(long requestId,
                              boolean wasFound)
    • Method Detail

      • wasFound

        public boolean wasFound()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class Response
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Response