public void deleteNumericRows(final Table t, final byte[] f, int startRow, int endRow)
    throws IOException {
    for (int i = startRow; i < endRow; i++) {
      byte[] data = Bytes.toBytes(String.valueOf(i));
      Delete delete = new Delete(data);
      delete.addFamily(f);
      t.delete(delete);
    }
  }
Load region with rows from 'aaa' to 'zzz'.
@param r     Region
@param f     Family
@param flush flush the cache if true
@return Count of rows loaded.
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java