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:BaseResponseValidates the response code.- Specified by:
validatein interfaceRESTMessage- Overrides:
validatein classBaseResponse- Throws:
IllegalArgumentException- if code value is negative.
-