Class PartitionStatisticsUpdateRequest
java.lang.Object
org.apache.gravitino.dto.requests.PartitionStatisticsUpdateRequest
- All Implemented Interfaces:
RESTMessage
,RESTRequest
Represents a request to update partition statistics.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for PartitionStatsUpdateRequest.Creates a new PartitionStatsUpdateRequest. -
Method Summary
-
Constructor Details
-
PartitionStatisticsUpdateRequest
Creates a new PartitionStatsUpdateRequest.- Parameters:
updates
- The updates to apply to the partition statistics.
-
PartitionStatisticsUpdateRequest
public PartitionStatisticsUpdateRequest()Default constructor for PartitionStatsUpdateRequest. (Used for Jackson deserialization.)
-
-
Method Details
-
validate
Validates the request.- Specified by:
validate
in interfaceRESTMessage
- Throws:
IllegalArgumentException
- If the request is invalid, this exception is thrown.
-