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

Enis Soztutar commented on HBASE-15879:
---------------------------------------

bq. The initial intention was to have this Key as an optimization for cells 
with contiguous key but may be we should see if we can conceptualize this 
inside a Cell itself.
Allright. One other idea we can pursue is to keep {{Cell}} as it is, so that we 
keep the interface simple for the application/client side. And introduce 
something like {{InternalCell}} which contains all advanced and implementation 
level stuff we want the Cell interface to have optionally. 

> Introduce Key interface
> -----------------------
>
>                 Key: HBASE-15879
>                 URL: https://issues.apache.org/jira/browse/HBASE-15879
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>         Attachments: HBASE-15879.patch, HBASE-15879_1.patch
>
>
> Introduce an interface called Key and allow Cell implementations to implement 
> this Key interface for cases like KeyValue, OffheapKeyValue and DBE cells 
> (Except prefix tree) so that we can avoid copies when we deal with only Cells 
> in case of block index creations (like ROOT, Bloom etc). Helps in reduction 
> of garbage also. 



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

Reply via email to