[ https://issues.apache.org/jira/browse/HBASE-19112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16238171#comment-16238171 ]
Chia-Ping Tsai commented on HBASE-19112: ---------------------------------------- These methods return the raw information of cell so I prefer to introduce a new IA.LP interface {{RawCell}} which exposed to raw scan user (yes, the raw scan should be a IA.LP operation) and cp user. And then we replace the {{Cell}} by {{RawCell}} in server-side to make the {{Cell}} be a general data interface used by hbase-client only. Also, the {{ExtendedCell}} can be IA.Private because the {{RawCell}} is more suitable to be exposed to CP user as it is a read-only interface (we should not allow cp user to change any cell we pass to them). > 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)