/**
  * Delete data in a table with given ids.
  *
  * @param tableName The name of the table to search on
  * @param ids The list of ids of the records to be deleted
  * @throws AnalyticsWebServiceException
  */
 public void deleteByIds(String tableName, String[] ids) throws AnalyticsWebServiceException {
   try {
     analyticsDataAPI.delete(getUsername(), tableName, Arrays.asList(ids));
   } catch (Exception e) {
     logger.error(
         "Unable to delete records from table[" + tableName + "] due to " + e.getMessage(), e);
     throw new AnalyticsWebServiceException(
         "Unable to delete record from table[" + tableName + "] due to " + e.getMessage(), e);
   }
 }