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

stack commented on HBASE-10532:
-------------------------------

I like suggestion of adding a CellComparator and using it internally.  It 
underlines the direction we are heading in.  Patch looks good.

> 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