Drop Table
void dropTable(String tableName)
Function
Drop a table, after dropping, both table and data are dropped
Method parameters
1.tableName : String : required
Method return value
void
Exception error code
INTERNAL_ERROR(1): Server exception
ACCESS_DENIED(4): No permission to enable table permissions
RESOURCE_NOT_FOUND(9): Disabled table does not exist
RESOURCE_UNAVAILABLE(11) : There are other DDL operations under this account. Does not allow DDL operations at the same time
Limitation
Only the table owner can enable table operations
Example
With the Example table, the sample code for dropping table is provided below
$tableName = 'php-note';
$adminClient->dropTable($tableName);