Andrew Purtell created HBASE-9962:
-------------------------------------

             Summary: 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


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'.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to