public void deleteTable ( ) { // [START bigtable_delete_table] // Deletes the entire table. System . out . println ( "\nDelete table: " + tableId ) ; try { adminClient . deleteTable ( tableId ) ; System . out . printf ( "Table: %s deleted successfully%n" , tableId ) ; } catch ( NotFoundException e ) { System . err . println ( "Failed to delete a non-existent table: " + e . getMessage ( ) ) ; } // [END bigtable_delete_table] }
Demonstrates how to delete a table .