@Override
public void dropTable(String dbname, String name, boolean deleteData,
boolean ignoreUnknownTab, boolean ifPurge)
throws MetaException, TException, NoSuchObjectException, UnsupportedOperationException {
//build new environmentContext with ifPurge;
EnvironmentContext envContext = null;
if(ifPurge){
Map<String, String> warehouseOptions = null;
warehouseOptions = new HashMap<String, String>();
warehouseOptions.put("ifPurge", "TRUE");
envContext = new EnvironmentContext(warehouseOptions);
}
dropTable(dbname, name, deleteData, ignoreUnknownTab, envContext);
}