Class DeleteResponse

java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.DeleteResponse
All Implemented Interfaces:
RESTMessage, RESTResponse

@Deprecated(since="1.0.0") public class DeleteResponse extends BaseResponse
Deprecated.
Represents a response for a delete operation. This class is deprecated and will be removed in future versions, please use DropResponse instead.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Default constructor for DeleteResponse (used by Jackson deserializer).
    DeleteResponse(boolean deleted)
    Deprecated.
    Constructor for DeleteResponse.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
    Returns whether the delete operation was successful.

    Methods inherited from class org.apache.gravitino.dto.responses.BaseResponse

    validate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DeleteResponse

      public DeleteResponse(boolean deleted)
      Deprecated.
      Constructor for DeleteResponse.
      Parameters:
      deleted - Whether the delete operation was successful.
    • DeleteResponse

      public DeleteResponse()
      Deprecated.
      Default constructor for DeleteResponse (used by Jackson deserializer).
  • Method Details

    • deleted

      public boolean deleted()
      Deprecated.
      Returns whether the delete operation was successful.
      Returns:
      True if the delete operation was successful, otherwise false.