System.out.println("Scanning after " + startRow);
} else {
System.out.println("Scanning from " + startRow);
}
Key startKey = new Key(new Text(String.format("row_%06d", startRow)), columnf, columnq, Long.MAX_VALUE);
sc.seek(new Range(startKey, null), LocalityGroupUtil.EMPTY_CF_SET, false);
for (int j = 0; j < 20000; j++) {
// scan through the cache
if (!sc.hasTop()) {
System.out.println("end of cache reached with key=" + startKey + " and j=" + j);
break;