class DestructiveSource {

  public List<String> getPartitionNames() throws TException {
    try (CloseableMetaStoreClient client = sourceMetaStoreClientSupplier.get()) {
      return client.listPartitionNames(databaseName, tableName, ALL);
    }
  }

  public  DestructiveSource(
      Supplier<CloseableMetaStoreClient> sourceMetaStoreClientSupplier,
      TableReplication tableReplication);

}