Class EntityListResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.EntityListResponse
- All Implemented Interfaces:
RESTMessage,RESTResponse
Represents a response containing a list of catalogs.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for EntityListResponse.EntityListResponse(NameIdentifier[] idents) Constructor for EntityListResponse. -
Method Summary
Modifier and TypeMethodDescriptionReturns the array of entity identifiers.voidvalidate()Validates the response data.
-
Constructor Details
-
EntityListResponse
Constructor for EntityListResponse.- Parameters:
idents- The array of entity identifiers.
-
EntityListResponse
public EntityListResponse()Default constructor for EntityListResponse. (Used for Jackson deserialization.)
-
-
Method Details
-
identifiers
Returns the array of entity identifiers.- Returns:
- The array of identifiers.
-
validate
Validates the response data.- Specified by:
validatein interfaceRESTMessage- Overrides:
validatein classBaseResponse- Throws:
IllegalArgumentException- if catalog identifiers are not set.
-