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

ramkrishna.s.vasudevan commented on HBASE-10532:
------------------------------------------------

We already have a CellComparator introduced for Prefixtree.
Infact compareStaticIgnoreMvccVersion() in CellComparator can be used to 
compare the flat keys incase of seekTo, reseekTo, seekBefore.
May be I will add the required comparators to the existing Cellcomparator.

> Make KeyValueComparator in KeyValue to accept Cell instead of KeyValue.
> -----------------------------------------------------------------------
>
>                 Key: HBASE-10532
>                 URL: https://issues.apache.org/jira/browse/HBASE-10532
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.99.0
>
>         Attachments: HBASE-10532.patch, HBASE-10532.patch
>
>
> public int compareRows(final KeyValue left, final KeyValue right)
> public boolean matchingRows(final KeyValue left, final KeyValue right)
> We can make them to use Cells instead of KeyValue incase we need to use them 
> for comparison of any type of cell in future.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to