Hi,

I'm not sure how to report a typo in the documentation, but here goes:

On this page:
https://accumulo.apache.org/1.7/accumulo_user_manual.html#_batchscanner

In the following code sample "bscan" is created in the first line, but in
the ending for loop it is incorrectly referenced by "scan" (without the b):

ArrayList<Range> ranges = new ArrayList<Range>(); // populate list of
ranges ... BatchScanner bscan = conn.createBatchScanner("table", auths, 10);
bscan.setRanges(ranges); bscan.fetchColumnFamily("attributes");
for(Entry<Key,Value>
entry : scan) { System.out.println(entry.getValue()); }

Cheers,
Kent

Reply via email to