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.void
validate()
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:
validate
in interfaceRESTMessage
- Overrides:
validate
in classBaseResponse
- Throws:
IllegalArgumentException
- if catalog identifiers are not set.
-