[
https://issues.apache.org/jira/browse/HBASE-19112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16290771#comment-16290771
]
Anoop Sam John commented on HBASE-19112:
----------------------------------------
bq.right? Again am not sure if am trying to answer the question correctly or
may not be getting the issue here precisely.
U did not get me correctly. Ya user would never pass fake cells. Cell is an
impl and custom impls are possible here. Remember Chia saying abt custom impl
and using that in Put#add().. So Cell do not have a contract to have
getTypeByte(). In fact for CP we expose RawCell. Even that not having. That
is why I was just asking whether we should have getTypeByte() in RawCell..
These are just Qs for larger audience thinking. Not what I suggest. As we have
2 APIs and both not complete and rely on one at one end and other on other end
(client and server side) Qs arise. Just to make ourselves clear and get
consensus.
> 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
> Assignee: ramkrishna.s.vasudevan
> Priority: Blocker
> Fix For: 2.0.0-beta-1
>
> Attachments: HBASE-19112_branch-2.patch,
> HBASE-19112_branch-2_1.patch, HBASE-19112_master.patch,
> HBASE-19112_master_1.patch, HBASE-19112_master_1.patch,
> HBASE-19112_master_2.patch
>
>
> [~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)