[
https://issues.apache.org/jira/browse/HBASE-13977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611806#comment-14611806
]
Anoop Sam John commented on HBASE-13977:
----------------------------------------
bq.In getKeyAsCell, why bother with a ByteBuffer when all you are doing is
passing an array?
Same thing I also asked in comments Ram.
bq.No need to go with BB create now.. Directly make the Cell out of
current.keyBuffer? Do we need to clone that (if so also byte[] copy and create
KV)?
> Convert getKey and related APIs to Cell
> ---------------------------------------
>
> Key: HBASE-13977
> URL: https://issues.apache.org/jira/browse/HBASE-13977
> Project: HBase
> Issue Type: Sub-task
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Attachments: HBASE-13977.patch, HBASE-13977_1.patch,
> HBASE-13977_2.patch, HBASE-13977_3.patch, HBASE-13977_4.patch
>
>
> During the course of changes for HBASE-11425 felt that more APIs can be
> converted to return Cell instead of BB like getKey, getLastKey.
> We can also rename the getKeyValue to getCell.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)