public int loadTable(final Table t, final byte[][] f, byte[] value, boolean writeToWAL)
    throws IOException {
    List<Put> puts = new ArrayList<>();
    for (byte[] row : HBaseTestingUtility.ROWS) {
      Put put = new Put(row);
      put.setDurability(writeToWAL ? Durability.USE_DEFAULT : Durability.SKIP_WAL);
      for (int i = 0; i < f.length; i++) {
        byte[] value1 = value != null ? value : row;
        put.addColumn(f[i], f[i], value1);
      }
      puts.add(put);
    }
    t.put(puts);
    return puts.size();
  }
Load table of multiple column families with rows from 'aaa' to 'zzz'.
@param t     Table
@param f     Array of Families to load
@param value the values of the cells. If null is passed, the row key is used as value
@return Count of rows loaded.
hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java