Class TableResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.TableResponse
- All Implemented Interfaces:
RESTMessage
,RESTResponse
Represents a response for a table.
-
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializerTableResponse
(TableDTO table) Creates a new TableResponse. -
Method Summary
-
Constructor Details
-
TableResponse
Creates a new TableResponse.- Parameters:
table
- The table DTO object.
-
TableResponse
public TableResponse()This is the constructor that is used by Jackson deserializer
-
-
Method Details
-
validate
Validates the response.- Specified by:
validate
in interfaceRESTMessage
- Overrides:
validate
in classBaseResponse
- Throws:
IllegalArgumentException
- If the response is invalid, this exception is thrown.
-