accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Billie J Rinaldi <billie.j.rina...@ugov.gov>
Subject Re: Documentation feedback
Date Thu, 19 Apr 2012 14:42:17 GMT
Thanks!  These will be fixed in ACCUMULO-546.  Let us know if you notice anything else that
is incorrect.  :)

Billie


----- Original Message -----
> From: "Nabeel Hopeson" <nabeel.hopeson@gmail.com>
> To: user@accumulo.apache.org
> Sent: Wednesday, April 18, 2012 3:28:17 PM
> Subject: Documentation feedback
> Hello,
> 
> There is some confusion on the following page
> http://accumulo.apache.org/1.4/user_manual/Table_Design.html#Indexing
> .
> 
> In the section "Indexing", row ids are fetched by the following code
> 
> for(Entry<Key,Value> entry : indexScanner)
> 
> matchingRows.add(new Text(entry.getValue()));
> 
> According to the diagram within the Indexing section, I would have
> expected this code
> 
> for(Entry<Key,Value> entry : indexScanner)
> 
> matchingRows.add(new Text(entry.getKey(). getColumnQualifier()));
> 
> Can you provide clarification in the documentation if I am
> misunderstanding how it works? It is confusing that it would retrieve
> the "value" of the entry when the row id is in the column qualifier.
> 
> Finally, the last line in that same example uses an undeclared
> variable e.
> 
> System.out.println(e.getValue());
> 
> but I think what was meant was
> 
> System.out.println(entry.getVa lue());
> 
> Hopefully my feedback will be of use to others,
> 
> Thanks,
> 
> Nabeel Hopeson

Mime
View raw message