Class CatalogListResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.CatalogListResponse
- All Implemented Interfaces:
RESTMessage,RESTResponse
Represents a response for a list of catalogs with their information.
-
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializer to create an instance of CatalogListResponse.CatalogListResponse(CatalogDTO[] catalogs) Creates a new CatalogListResponse. -
Method Summary
-
Constructor Details
-
CatalogListResponse
Creates a new CatalogListResponse.- Parameters:
catalogs- The list of catalogs.
-
CatalogListResponse
public CatalogListResponse()This is the constructor that is used by Jackson deserializer to create an instance of CatalogListResponse.
-
-
Method Details
-
validate
Validates the response data.- Specified by:
validatein interfaceRESTMessage- Overrides:
validatein classBaseResponse- Throws:
IllegalArgumentException- if name, type or audit information is not set.
-