Delete a table (HBase)

Delete a table.

Documentation pages that include this code sample

To view the code sample used in context, see the following documentation:

Code sample

Java

To learn how to install and use the client library for Bigtable, see Bigtable client libraries.

// Clean up by disabling and then deleting the table
print("Delete the table");
admin.disableTable(table.getName());
admin.deleteTable(table.getName());

What's next

To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.