Class StatisticsDropRequest
java.lang.Object
org.apache.gravitino.dto.requests.StatisticsDropRequest
- All Implemented Interfaces:
RESTMessage
,RESTRequest
Represents a request to drop statistics for specified names.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for deserialization.StatisticsDropRequest
(String[] names) Creates a new StatisticsDropRequest with the specified names. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
Constructor Details
-
StatisticsDropRequest
Creates a new StatisticsDropRequest with the specified names.- Parameters:
names
- The names of the statistics to drop.
-
StatisticsDropRequest
public StatisticsDropRequest()Default constructor for deserialization.
-
-
Method Details
-
validate
Description copied from interface:RESTMessage
Ensures that a constructed instance of a REST message is valid according to the REST spec.This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
- Specified by:
validate
in interfaceRESTMessage
- Throws:
IllegalArgumentException
-