Class DeleteResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.DeleteResponse
- All Implemented Interfaces:
RESTMessage
,RESTResponse
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
ConstructorsConstructorDescriptionDeprecated.Default constructor for DeleteResponse (used by Jackson deserializer).DeleteResponse
(boolean deleted) Deprecated.Constructor for DeleteResponse. -
Method Summary
Modifier and TypeMethodDescriptionboolean
deleted()
Deprecated.Returns whether the delete operation was successful.Methods inherited from class org.apache.gravitino.dto.responses.BaseResponse
validate
-
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.
-