Efficiently compares the column qualifier bytes up to the length of the prefix to see if it matches.
Only setting this filter will return all rows that match the criteria but at the same will cost a full table scan. @since 1.5
676677678679680681682683684685686
Deferred.group(client.put(put3), client.put(put4))).join(); final Scanner scanner = client.newScanner(table); scanner.setFamily(family); scanner.setStartKey("cpf1"); scanner.setStopKey("cpf3"); scanner.setFilter(new ColumnPrefixFilter("qa")); final ArrayList<ArrayList<KeyValue>> rows = scanner.nextRows().join(); assertSizeIs(2, rows); ArrayList<KeyValue> kvs = rows.get(0); assertSizeIs(2, kvs); assertEq("v1", kvs.get(0).value());