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