[
https://issues.apache.org/jira/browse/HBASE-9359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762322#comment-13762322
]
Jonathan Hsieh commented on HBASE-9359:
---------------------------------------
[~lhofhansl]:
bq. Presumable in 0.94 these all would just return the one byte[] backing the
KeyValue, right?
Roughly what we would do is add have #get\*Array (where \* is
Row,Value,Family,Column) return #getBuffer() (the single base pointer), and
also add corresponding #get*Offset and #get\*Length methods with the calculated
offsets for the others. In the 0.96 version I believe the KeyValue Cell
essentially does this and for the PrefixTreeCell implementation it would return
potentially shared base pointer with the same length but a get\*Offset of 0.
> Convert KeyValue to Cell in hbase-client module - Result/Put/Delete,
> ColumnInterpreter
> --------------------------------------------------------------------------------------
>
> Key: HBASE-9359
> URL: https://issues.apache.org/jira/browse/HBASE-9359
> Project: HBase
> Issue Type: Sub-task
> Components: Client
> Affects Versions: 0.95.2
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Fix For: 0.98.0, 0.96.0
>
> Attachments: hbase-9334-9359.v4.patch, hbase-9359-9334.v5.patch,
> hbase-9359-9334.v6.patch, hbase-9359.patch, hbase-9359.v2.patch,
> hbase-9359.v3.patch, hbase-9359.v5.patch, hbase-9359.v6.patch
>
>
> This path is the second half of eliminating KeyValue from the client
> interfaces. This percolated through quite a bit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira