[
https://issues.apache.org/jira/browse/HBASE-9962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Purtell updated HBASE-9962:
----------------------------------
Description: The tag iterator was moved out of KeyValue into CellUtil and
marked as for tests only. HBASE-7662 and HBASE-7663 will use it. The 'length'
parameter was made into a short, which is inconvenient for most callers. The
methods on Tag for getting tag data offset and length in the tag buffer were
made default scope so it's impossible outside of the package to find the tag
data in the backing buffer without calling Tag#asList, which might do some
unwanted object allocations. Tags#asList also inconveniently uses short for
'length'. (was: The tag iterator was moved out of KeyValue into CellUtil and
marked as for tests only. HBASE-7662 and HBASE-7663 will use it. The 'length'
parameter was made into a short, which is inconvenient for most callers. The
methods on KeyValue.Tag for getting tag data offset and length in the tag
buffer were made default scope so it's impossible outside of the package to
find the tag data in the backing buffer without calling Tag#asList, which might
do some unwanted object allocations. Tags#asList also inconveniently uses short
for 'length'.)
> Improve tag iteration
> ---------------------
>
> Key: HBASE-9962
> URL: https://issues.apache.org/jira/browse/HBASE-9962
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.98.0
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Fix For: 0.98.0
>
> Attachments: 9962.patch
>
>
> The tag iterator was moved out of KeyValue into CellUtil and marked as for
> tests only. HBASE-7662 and HBASE-7663 will use it. The 'length' parameter was
> made into a short, which is inconvenient for most callers. The methods on Tag
> for getting tag data offset and length in the tag buffer were made default
> scope so it's impossible outside of the package to find the tag data in the
> backing buffer without calling Tag#asList, which might do some unwanted
> object allocations. Tags#asList also inconveniently uses short for 'length'.
--
This message was sent by Atlassian JIRA
(v6.1#6144)