Put put1 = new Put(row1);
put1.add(cf, row1, row1);
Put put2 = new Put(row2);
put2.add(cf, row2, row2);
hTable.batch(ImmutableList.<Row>of(put1, put2));
List<Get> gets = ImmutableList.<Get>of(new Get(row1), new Get(row2));
Result[] results = hTable.get(gets);
Assert.assertArrayEquals(row1, results[0].getRow());