accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nabeel Hopeson <>
Subject Documentation feedback
Date Wed, 18 Apr 2012 19:28:17 GMT

There is some confusion on the following page

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.


but I think what was meant was

System.out.println(entry.getVa lue());

Hopefully my feedback will be of use to others,


Nabeel Hopeson

View raw message