accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kent McHenry <kentmche...@gmail.com>
Subject Typo in Accumulo v1.7 documentation
Date Mon, 30 Nov 2015 20:52:08 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message