code: public Boolean deletes(String tableName, Set<byte[]> rowKeys) {
          boolean flag = false;
          try {
              HTable table = (HTable) getConnection().getTable(TableName.valueOf(tableName));
              List<Delete> deletes = new ArrayList<>();
              for (byte[] rowKey : rowKeys) {
                  Delete delete = new Delete(rowKey);
                  deletes.add(delete);
              }
              if (!deletes.isEmpty()) {
                  table.delete(deletes);
              }
              flag = true;
          } catch (Exception e) {
              logger.error(e.getMessage(), e);
              throw new RuntimeException(e);
          }
          return flag;
      }
docs: 批量删除数据
  
  @param tableName 表名
  @param rowKeys rowKey集合
  @return 是否成功