accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher <ctubb...@apache.org>
Subject Re: Documentation not correct for "Reading Data".
Date Mon, 09 Jun 2014 13:42:25 GMT
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 <vicky.kak@gmail.com> 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 <vicky.kak@gmail.com> 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
> >
>

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