hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: prefix compression
Date Fri, 03 Jun 2011 04:51:26 GMT
On Thu, Jun 2, 2011 at 8:17 PM, Matt Corgan <mcorgan@hotpads.com> wrote:
> What about turning KeyValue into an interface with only the essential
> getXX() methods?  Whatever is using the KeyValue shouldn't *have* to know
> what sort of structure it's backed by, but could figure out the
> implementation in cases where it wants to optimize performance.

A few of us have looked at doing this and baulked.  Maybe if we'd had
a stiff drink first....
> new CssTreeBlockIndexKeyValue(CssTreeBlockIndex blockIndex, int kvPosition)

Sounds great.


View raw message