Package org.apache.gravitino.dto.stats
Class PartitionStatisticsDropDTO
java.lang.Object
org.apache.gravitino.dto.stats.PartitionStatisticsDropDTO
- All Implemented Interfaces:
PartitionStatisticsDrop
PartitionStatisticsDropDTO is a Data Transfer Object (DTO) that represents the request to drop
statistics for a specific partition in a data source.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for Jackson. -
Method Summary
Modifier and TypeMethodDescriptionstatic PartitionStatisticsDropDTOCreates a new instance of PartitionStatisticsDropDTO.Returns the name of the partition for which these statistics are applicable.Returns the names of the statistics that are relevant to the partition being dropped.voidvalidate()Validates the PartitionStatisticsDropDTO instance.
-
Constructor Details
-
PartitionStatisticsDropDTO
protected PartitionStatisticsDropDTO()Default constructor for Jackson.
-
-
Method Details
-
partitionName
Description copied from interface:PartitionStatisticsDropReturns the name of the partition for which these statistics are applicable.- Specified by:
partitionNamein interfacePartitionStatisticsDrop- Returns:
- the name of the partition
-
statisticNames
Description copied from interface:PartitionStatisticsDropReturns the names of the statistics that are relevant to the partition being dropped.- Specified by:
statisticNamesin interfacePartitionStatisticsDrop- Returns:
- a list of statistic names
-
validate
public void validate()Validates the PartitionStatisticsDropDTO instance. -
of
Creates a new instance of PartitionStatisticsDropDTO.- Parameters:
partitionName- the name of the partition for which these statistics are applicablestatisticNames- the names of the statistics to drop for the partition- Returns:
- a new instance of PartitionStatisticsDropDTO
-