Class HiveMetadataCleaner
- java.lang.Object
-
- com.expediagroup.beekeeper.cleanup.hive.HiveMetadataCleaner
-
- All Implemented Interfaces:
MetadataCleaner
public class HiveMetadataCleaner extends java.lang.Object implements MetadataCleaner
-
-
Constructor Summary
Constructors Constructor Description HiveMetadataCleaner(DeletedMetadataReporter deletedMetadataReporter, IcebergValidator icebergValidator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandropPartition(HousekeepingMetadata housekeepingMetadata, CleanerClient client)voiddropTable(HousekeepingMetadata housekeepingMetadata, CleanerClient client)booleantableExists(CleanerClient client, java.lang.String databaseName, java.lang.String tableName)
-
-
-
Constructor Detail
-
HiveMetadataCleaner
public HiveMetadataCleaner(DeletedMetadataReporter deletedMetadataReporter, IcebergValidator icebergValidator)
-
-
Method Detail
-
dropTable
public void dropTable(HousekeepingMetadata housekeepingMetadata, CleanerClient client)
- Specified by:
dropTablein interfaceMetadataCleaner
-
dropPartition
public boolean dropPartition(HousekeepingMetadata housekeepingMetadata, CleanerClient client)
- Specified by:
dropPartitionin interfaceMetadataCleaner
-
tableExists
public boolean tableExists(CleanerClient client, java.lang.String databaseName, java.lang.String tableName)
- Specified by:
tableExistsin interfaceMetadataCleaner
-
-