hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan rawson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3245) client.Result uses inverted Comparator<Long> in the versionMap (containted in familyMap)
Date Fri, 19 Nov 2010 09:09:21 GMT

    [ https://issues.apache.org/jira/browse/HBASE-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933737#action_12933737
] 

ryan rawson commented on HBASE-3245:
------------------------------------

Have a look at the raw interface for more options.


> client.Result uses inverted Comparator<Long> in the versionMap (containted in familyMap)
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-3245
>                 URL: https://issues.apache.org/jira/browse/HBASE-3245
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ivan Valchev
>             Fix For: 0.89.20100924
>
>
> In getMap() method the comparator passed to versionMap does:
>       public int compare(Long l1, Long l2) {
>             return l2.compareTo(l1);
>        }
> which inverts the result of the comparison. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message