final Text arbitraryStopRow = new Text("c");
Text actualStopRow = null;
Text [] columns = new Text [] {new Text(COLFAMILY_NAME1)};
scanner = region.getScanner(columns,
arbitraryStartRow, HConstants.LATEST_TIMESTAMP,
new WhileMatchRowFilter(new StopRowFilter(arbitraryStopRow)));
HStoreKey key = new HStoreKey();
TreeMap<Text, byte[]> value = new TreeMap<Text, byte []>();
while (scanner.next(key, value)) {
if (actualStartRow == null) {
actualStartRow = new Text(key.getRow());