Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
Description
HashSet<Text> matchingRows = new HashSet<Text>();
...
matchingRows.add(new Text(entry.getKey().getColumnQualifier()));
...
bscan.fetchFamily("attributes");
...
for(Entry<Key,Value> entry : scan)
Should read:
HashSet<Range> matchingRows = new HashSet<Range>();
...
matchingRows.add(new Range(entry.getKey().getColumnQualifier()));
...
bscan.fetchColumnFamily("attributes"); // api change?
...
for(Entry<Key,Value> entry : bscan)
// Now this line will work, since it accepts a collection of range not text
bscan.setRanges(matchingRows);