You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jan Hentschel (JIRA)" <ji...@apache.org> on 2019/08/04 00:28:00 UTC
[jira] [Updated] (HBASE-22788) Remove deprecated methods from Bytes
[ https://issues.apache.org/jira/browse/HBASE-22788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Hentschel updated HBASE-22788:
----------------------------------
Release Note:
Removed the following, deprecated methods from the Bytes class:
Bytes(ByteString): Removed without a replacement.
getSize(): Use getLength() instead.
toByteString(): Removed without a replacement.
putLongUnsafe(byte[], int, long): Removed without a replacement.
toIntUnsafe(byte[], int): Removed without a replacement.
toShortUnsafe(byte[], int): Removed without a replacement.
toLongUnsafe(byte[], int): Removed without a replacement.
putIntUnsafe(byte[], int, int): Removed without a replacement.
putShortUnsafe(byte[], int, short): Removed without a replacement.
readVLong(byte[], int): Use readAsVLong(byte[],int) instead.
binarySearch(byte[][], byte[], int, int, RawComparator): Use binarySearch(byte[][], byte[], int, int) instead.
binarySearch(byte[][], Cell, RawComparator): Use inarySearch(Cell[], Cell, CellComparator) instead.
> Remove deprecated methods from Bytes
> ------------------------------------
>
> Key: HBASE-22788
> URL: https://issues.apache.org/jira/browse/HBASE-22788
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 3.0.0
> Reporter: Jan Hentschel
> Assignee: Jan Hentschel
> Priority: Minor
>
> The {{Bytes}} class contains some deprecated methods, which can be removed for 3.0.0.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)