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

Anoop Sam John commented on HBASE-12593:
----------------------------------------

Tag is not an interface impl way now and is having byte[] backed APIs alone.  
But it is not exposed to user and not exposed in client side at all.  We have 
marked Tag as Private.  So I hope we can break it for 2.0
Thinking is to have Tag as an interface with both array and BB based getter 
APIs to get its value. We will have 2 impls with array backed and DBB backed. 
The DBB backed impls will throw UnsupportedOpException when array based getter 
is been called.  Also we need to have hasArray() in interface then. 
Will be providing TagUtil class for utility functions such as iterate over tags 
(tags in form of byte[] or BB), create tags from a backing array or buffer and 
vice versa etc.
Thought?  

> Tags and Tag dictionary to work with BB
> ---------------------------------------
>
>                 Key: HBASE-12593
>                 URL: https://issues.apache.org/jira/browse/HBASE-12593
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver, Scanners
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: Anoop Sam John
>
> Adding the subtask so that we don't forget it. Came up while reviewing the 
> items required for this parent task.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to