public void dropTable(org.apache.hadoop.hive.metastore.api.Table table, 
      boolean deleteData, boolean ignoreUnknownTab, boolean ifPurge) throws HiveException {
    try {
      getMSC().dropTable(table, deleteData, ignoreUnknownTab, ifPurge);
    } catch (Exception e) {
      throw new HiveException(e);
    } finally {
      AcidUtils.tryInvalidateDirCache(table);
    }
  }
Drops the table.

@param dbName
@param tableName
@param deleteData
         deletes the underlying data along with metadata
@param ignoreUnknownTab
         an exception is thrown if this is false and the table doesn't exist
@param ifPurge
         completely purge the table skipping trash while removing data from warehouse
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java