private ColumnUpdate newColUpdate(String cf, String cq, long ts, String val) {
return new ColumnUpdate(s2bb(cf), s2bb(cq)).setTimestamp(ts).setValue(s2bb(val));
}
private void assertScan(String[][] expected, String table) throws Exception {
String scid = client.createScanner(creds, table, new ScanOptions());
ScanResult keyValues = client.nextK(scid, expected.length + 1);
assertEquals(expected.length, keyValues.results.size());
assertFalse(keyValues.more);