Class PartitionStatisticsListResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.PartitionStatisticsListResponse
- All Implemented Interfaces:
RESTMessage
,RESTResponse
PartitionStatisticsListResponse is a response object that contains an array of
PartitionStatisticsDTO.
-
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializerPartitionStatisticsListResponse
(PartitionStatisticsDTO[] partitionStatistics) Creates a new PartitionStatsListResponse. -
Method Summary
-
Constructor Details
-
PartitionStatisticsListResponse
Creates a new PartitionStatsListResponse.- Parameters:
partitionStatistics
- The updated statistics for the partition.
-
PartitionStatisticsListResponse
public PartitionStatisticsListResponse()This is the constructor that is used by Jackson deserializer
-
-
Method Details
-
validate
Validates the response.- Specified by:
validate
in interfaceRESTMessage
- Overrides:
validate
in classBaseResponse
- Throws:
IllegalArgumentException
- If the response is invalid, this exception is thrown.
-