hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15879) Introduce Key interface
Date Fri, 03 Jun 2016 06:07:59 GMT

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

ramkrishna.s.vasudevan commented on HBASE-15879:
------------------------------------------------

bq.The model should not be such that Key only makes sense in case where row is contiguous
with column family and qualifier, etc.
Ok. So you mean make all Cell have a Key interface? I can come up with a patch where Key interface
is implemented in every cell and not make Cell extend Key. 

bq.Streamable should be done with Codec?
Yes. But there is some relation between this Streamable and Key. Streambale deals with both
keys and values but Key is talking only about the key part. 

> 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
>
>
> 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)

Mime
View raw message