public void dropTable(ConnectorTableHandle tableHandle)
{
checkArgument(tableHandle instanceof CassandraTableHandle, "tableHandle is not an instance of CassandraTableHandle");
if (!allowDropTable) {
throw new PrestoException(CANNOT_DROP_TABLE.toErrorCode(), "DROP TABLE is disabled in this Hive catalog");
}
CassandraTableHandle cassandraTableHandle = (CassandraTableHandle) tableHandle;
String schemaName = cassandraTableHandle.getSchemaName();
String tableName = cassandraTableHandle.getTableName();