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

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

So the RawCell is CP exposed.  We have some APIs like getTags() there which CP 
users might want to use.  The issue is it is Cell type that flaws throughout 
the server code base. Even to CPs.   So CP users has to know that it is RawCell 
types actually coming in in all places and have to type cast and call these 
APIs.  This is ugly.
Otherwise we have to change the flows in server side so as to pass the RawCell 
types instead.  This also we can not do fully. Because some hooks like the 
postGet passes a Result to CP. The cells what we get from Result is Cell type 
and we can not change the return type there as Result is public exposed. Like 
that there may be conflicts in areas like Filter etc.  After all this will be 
huge change..  The idea I agree mostly. But not at all sure we can do for 2.0.
In the other issue of expose tags to CPs, me and Ram were discussing this same 
topic.

> Suspect methods on Cell to be deprecated
> ----------------------------------------
>
>                 Key: HBASE-19112
>                 URL: https://issues.apache.org/jira/browse/HBASE-19112
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>            Reporter: Josh Elser
>            Priority: Blocker
>             Fix For: 2.0.0-beta-1
>
>
> [~chia7712] suggested on the [mailing 
> list|https://lists.apache.org/thread.html/e6de9af26d9b888a358ba48bf74655ccd893573087c032c0fcf01585@%3Cdev.hbase.apache.org%3E]
>  that we have some methods on Cell which should be deprecated for removal:
> * {{#getType()}}
> * {{#getTimestamp()}}
> * {{#getTag()}}
> * {{#getSequenceId()}}
> Let's make a pass over these (and maybe the rest) to make sure that there 
> aren't others which are either implementation details or methods returning 
> now-private-marked classes.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to