public void dropTable(String dbName, String tableName, boolean deleteData,
      boolean ignoreUnknownTab, boolean ifPurge) throws HiveException {
    try {
      getMSC().dropTable(dbName, tableName, deleteData, ignoreUnknownTab, ifPurge);
    } catch (NoSuchObjectException e) {
      if (!ignoreUnknownTab) {
        throw new HiveException(e);
      }
    } catch (Exception e) {
      throw new HiveException(e);
    }
  }
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