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

Elliott Clark commented on HBASE-15893:
---------------------------------------

bq.Our KV can be something like: 
https://github.com/google/leveldb/blob/master/include/leveldb/slice.h.
https://github.com/google/leveldb/blob/master/include/leveldb/db.h#L83
That's how bytes are passed back. If we want to have something like slice 
that's what IOBuf's are.

bq.The Cell interface is not just for off-heap KV versus on-heap.
The only difference between cell and key value is what accessors are there. 
Cell was a hack to get around removing some that made promises around data 
layout. We have no such inconveniences around having already promised a static 
data layout, hence the cell/kv difference isn't needed. We shouldn't add any 
classes that aren't needed yet.

> Get object
> ----------
>
>                 Key: HBASE-15893
>                 URL: https://issues.apache.org/jira/browse/HBASE-15893
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Sudeep Sunthankar
>         Attachments: HBASE-15893.HBASE-14850.v1.patch
>
>
> Patch for creating Get objects.  Get objects can be passed to the Table 
> implementation to fetch results for a given row. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to