It is hard to believe such misses, anyway good to see it getting resolved quickly. Looks like users are not reading the document other than from me ;(
Thanks, Vicky On Mon, Jun 9, 2014 at 7:12 PM, Christopher <[email protected]> wrote: > The documentation is wrong. It should be fetchColumnFamily. Thanks for > catching that. The getRow() should return return a Text object. > > https://issues.apache.org/jira/browse/ACCUMULO-2875 > > > -- > Christopher L Tubbs II > http://gravatar.com/ctubbsii > > > On Mon, Jun 9, 2014 at 9:00 AM, Vicky Kak <[email protected]> wrote: > > > The following piece also looks crazy > > > > for(Entry<Key,Value> entry : scan) { > > String row = entry.getKey().getRow(); > > Value value = entry.getValue(); > > } > > > > > > > > On Mon, Jun 9, 2014 at 6:21 PM, Vicky Kak <[email protected]> wrote: > > > > > I have been looking at the "Reading Data" section here > > > http://accumulo.apache.org/1.6/accumulo_user_manual.html#_reading_data > > > > > > Looking at the code I don't see the fetchFamily method as mentioned in > > > this line > > > > > > scan.fetchFamily("attributes"); > > > > > > Looks to me that the document is not updated or something had recently > > > been changed in the API. > > > > > > I had a look at the history on 1.6.1-Snapshot branch, I can't make out > if > > > the fectchFamily was renamed from it there > > > > > > > > > https://github.com/apache/accumulo/commits/master/core/src/main/java/org/apache/accumulo/core/client/impl/ScannerOptions.java > > > > > > It seems the docs contains wrong method name of fetchFamily, wanted to > > > confirm before digging further or raising issue. > > > > > > Thanks, > > > Vicky > > > > > >
