[
https://issues.apache.org/jira/browse/HBASE-10800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ramkrishna.s.vasudevan updated HBASE-10800:
-------------------------------------------
Release Note:
>From 2.0 branch onwards KVComparator and its subclasses MetaComparator,
>RawBytesComparator are all deprecated.
All the comparators are moved to CellComparator. MetaCellComparator, a
subclass of CellComparator, will be used to compare hbase:meta cells.
Previously exposed static instances KeyValue.COMPARATOR,
KeyValue.META_COMPARATOR and KeyValue.RAW_COMPARATOR are deprecated instead use
CellComparator.COMPARATOR and CellComparator.META_COMPARATOR.
Also note that there will be no RawBytesComparator. Where ever we need to
compare raw bytes use Bytes.BYTES_RAWCOMPARATOR.
CellComparator will always operate on cells and its components, abstracting the
fact that a cell can be backed by a single byte[] as opposed to how
KVComparators were working.
> Use CellComparator instead of KVComparator
> ------------------------------------------
>
> Key: HBASE-10800
> URL: https://issues.apache.org/jira/browse/HBASE-10800
> Project: HBase
> Issue Type: Sub-task
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Fix For: 2.0.0
>
> Attachments: HBASE-10800_1.patch, HBASE-10800_11.patch,
> HBASE-10800_12.patch, HBASE-10800_13.patch, HBASE-10800_14.patch,
> HBASE-10800_15.patch, HBASE-10800_16.patch, HBASE-10800_18.patch,
> HBASE-10800_2.patch, HBASE-10800_23.patch, HBASE-10800_23.patch,
> HBASE-10800_24.patch, HBASE-10800_25.patch, HBASE-10800_26.patch,
> HBASE-10800_27.patch, HBASE-10800_28.patch, HBASE-10800_29.patch,
> HBASE-10800_3.patch, HBASE-10800_4.patch, HBASE-10800_4.patch,
> HBASE-10800_5.patch, HBASE-10800_6.patch, HBASE-10800_7.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)