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
ConstructorsModifierConstructorDescriptionprotected
Default constructor for Jackson. -
Method Summary
Modifier and TypeMethodDescriptionstatic PartitionStatisticsDropDTO
Creates 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.void
validate()
Validates the PartitionStatisticsDropDTO instance.
-
Constructor Details
-
PartitionStatisticsDropDTO
protected PartitionStatisticsDropDTO()Default constructor for Jackson.
-
-
Method Details
-
partitionName
Description copied from interface:PartitionStatisticsDrop
Returns the name of the partition for which these statistics are applicable.- Specified by:
partitionName
in interfacePartitionStatisticsDrop
- Returns:
- the name of the partition
-
statisticNames
Description copied from interface:PartitionStatisticsDrop
Returns the names of the statistics that are relevant to the partition being dropped.- Specified by:
statisticNames
in 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
-