You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Miguel Pereira (JIRA)" <ji...@apache.org> on 2013/08/28 16:30:53 UTC

[jira] [Updated] (ACCUMULO-1673) Mikstake in 1.5 Manual section 7.3 Indexing

     [ https://issues.apache.org/jira/browse/ACCUMULO-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Miguel Pereira updated ACCUMULO-1673:
-------------------------------------

    Description: 
HashSet<Text> matchingRows = new HashSet<Text>();
...
    matchingRows.add(new Text(entry.getKey().getColumnQualifier()));
...
bscan.fetchFamily("attributes");

Should read:

HashSet<Range> matchingRows = new HashSet<Range>();
...
    matchingRows.add(new Range(entry.getKey().getColumnQualifier()));
...
bscan.fetchColumnFamily("attributes"); // api change?

// Now this line will work, since it accepts a collection of range not text 
bscan.setRanges(matchingRows);

  was:
HashSet<Text> matchingRows = new HashSet<Text>();
...
    matchingRows.add(new Text(entry.getKey().getColumnQualifier()));

Should read:

HashSet<Range> matchingRows = new HashSet<Range>();
...
    matchingRows.add(new Range(entry.getKey().getColumnQualifier()));

// Now this line will work, since it accepts a collection of range not text 
bscan.setRanges(matchingRows);

    
> Mikstake in 1.5 Manual section 7.3 Indexing
> -------------------------------------------
>
>                 Key: ACCUMULO-1673
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1673
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Miguel Pereira
>            Priority: Trivial
>              Labels: documentaion, newbie
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> HashSet<Text> matchingRows = new HashSet<Text>();
> ...
>     matchingRows.add(new Text(entry.getKey().getColumnQualifier()));
> ...
> bscan.fetchFamily("attributes");
> Should read:
> HashSet<Range> matchingRows = new HashSet<Range>();
> ...
>     matchingRows.add(new Range(entry.getKey().getColumnQualifier()));
> ...
> bscan.fetchColumnFamily("attributes"); // api change?
> // Now this line will work, since it accepts a collection of range not text 
> bscan.setRanges(matchingRows);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira