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] [Updated] (HBASE-15879) Introduce Key interface
Date Mon, 23 May 2016 18:51:12 GMT

     [ https://issues.apache.org/jira/browse/HBASE-15879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ramkrishna.s.vasudevan updated HBASE-15879:
-------------------------------------------
    Attachment: HBASE-15879.patch

Named the Key interface as ContiguousKey.  Is it a better name? REason was to say explicitly
that this interface represents formats where the key is really contiguous rather than the
need to form a key out of it. KeyValue, OffheapKV, DBE cells (Onheap and OffheapCell) implement
this new interface. 

> 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