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

Chia-Ping Tsai commented on HBASE-19112:
----------------------------------------

I agree on adding the DataType to Cell since it is the acceptable solution in 
2.0. It still expose the stuff which is particular of KeyValue but it should be 
ok in 2.0 since we allow user to get the type via public CellUtil.

The #2 is what I intend to accomplish in 3.0 or 2.1 since it can simplify our 
Delete which is not friendly to be used for user - Even us had misused it in 
shell. See HBASE-18142. If user want to do the multi-deletes on same row or in 
single rpc, the RowMutation is the alternative way.

The #3 will make the Delete be more complicated.

The RawCell should be added in 2.0 for cp user, and we haven’t prepare to 
introduce it to client. So the #4 is excluded.

bq. What to be done in here.
Ram is not available over the weekend. :)
Personally, we should 1) deprecate the getter of seqid and tag in Cell. And 2) 
introduce the RawCell having the deprecated APIs explicitly.

> 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
>
>
> [~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