Class StatisticsDropRequest

java.lang.Object
org.apache.gravitino.dto.requests.StatisticsDropRequest
All Implemented Interfaces:
RESTMessage, RESTRequest

public class StatisticsDropRequest extends Object implements RESTRequest
Represents a request to drop statistics for specified names.
  • Constructor Details

    • StatisticsDropRequest

      public StatisticsDropRequest(String[] names)
      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

      public void validate() throws IllegalArgumentException
      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 interface RESTMessage
      Throws:
      IllegalArgumentException