hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-18945) Make a Public interface for CellComparator
Date Fri, 06 Oct 2017 07:19:00 GMT

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

ramkrishna.s.vasudevan updated HBASE-18945:
-------------------------------------------
    Attachment: HBASE-18495.patch

Exposes CellComparator as an interface and CellComparatorImpl as its impl. The hbase code
will assume to work with CellComparatorImpl. 
Cellcomparator exposes - 
compare(Cell , Cell)
compareRows(cell, cell)
compareWithoutRow(cell, cell)
compareFamilies(cell, cell)
compareQualifiers(cell, cell)
compareTimestamp(cell, cell)
compareTimestamp(long, long)
It does not expose compareType. I have changed the Region, Store and StoreFile to expose this
new interface but not removed them for now. Will try QA. 

> Make a Public interface for CellComparator
> ------------------------------------------
>
>                 Key: HBASE-18945
>                 URL: https://issues.apache.org/jira/browse/HBASE-18945
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-18495.patch
>
>
> Based on discussions over in HBASE-18826 and HBASE-18183 it is better we expose CellComparator
as a public interface so that it could be used in Region/Store interfaces to be exposed to
CPs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message