[ 
https://issues.apache.org/jira/browse/HBASE-7897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649527#comment-13649527
 ] 

stack commented on HBASE-7897:
------------------------------

Ok.  Tags are opaque byte arrays at this level.  Whether there is one tag or 
100 in the array of bytes and how to parse the bytes is for figuring elsewhere. 
 Below the Cell level, the tag representation can be compressed or encoded but 
by inspection of the raw bytes themselves, not by exploiting some Tag aspect.

Sounds like the additional methods would be the below only?

+  /**
+   * @return the tag byte array
+   */
+  byte[] getTagArray();
+
+   /**
+   * @return the first offset where the tags start in the Cell
+   */
+  int getTagsOffset();
+  
+  /**
+   * @return the total length of the tags in the Cell.
+   */
+  int getTagsLength();
+  

                
> Add support for tags to Cell Interface
> --------------------------------------
>
>                 Key: HBASE-7897
>                 URL: https://issues.apache.org/jira/browse/HBASE-7897
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Critical
>             Fix For: 0.95.1
>
>         Attachments: HBASE-7897.patch
>
>
> Cell Interface has suppport for mvcc.   The only thing we'd add to Cell in 
> the near future is support for tags it would seem.  Should be easy to add.  
> Should add it now.  See backing discussion here: 
> https://issues.apache.org/jira/browse/HBASE-7233?focusedCommentId=13573784&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13573784
> Matt outlines what the additions to Cell might look like here:
> https://issues.apache.org/jira/browse/HBASE-7233?focusedCommentId=13531619&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13531619
> Would be good to get these in now.
> Marking as 0.96.  Can more later.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to