Class StatisticListResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.StatisticListResponse
- All Implemented Interfaces:
RESTMessage
,RESTResponse
Represents a response containing a list of statistics.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for StatisticsListResponse (used by Jackson deserializer).StatisticListResponse
(StatisticDTO[] statistics) Constructor for StatisticsListResponse. -
Method Summary
-
Constructor Details
-
StatisticListResponse
Constructor for StatisticsListResponse.- Parameters:
statistics
- Array of StatisticDTO objects representing the statistics.
-
StatisticListResponse
public StatisticListResponse()Default constructor for StatisticsListResponse (used by Jackson deserializer).
-
-
Method Details
-
validate
Description copied from class:BaseResponse
Validates the response code.- Specified by:
validate
in interfaceRESTMessage
- Overrides:
validate
in classBaseResponse
- Throws:
IllegalArgumentException
- if code value is negative.
-