accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Kohlwey <>
Subject Re: feedback on Typo
Date Mon, 13 Aug 2012 00:11:47 GMT
I really like this. I've thought for some time that something of this sort
should be part of the Accumulo core API. The inconsistent use use
CharSequence, String, Text, and byte[] objects to represent the n-tuples
gets very old very quickly, and distracts programmers in a multitude of

The current API should really be refactored to make CharSequence, Text,
byte[], and ByteBuffer types available for setting the contents of Key and
Value types just for consistency's sake. It would be nice to have something
like this added as well.

It would be good to see this package use nio-ish strategies to reduce the
load on the garbage collector, by using buffer classes instead of arrays.
But otherwise the design looks solid.

On Fri, Aug 10, 2012 at 8:07 PM, Keith Turner <> wrote:

> I put together a simple abstraction layer for Accumulo that makes it
> easier to read and write Java objects to Accumulo key and value
> fields.  The data written to Accumulo sort correctly
> lexicographically.
> I put the code on github and would like some feedback on the design
> and whether it should be included with Accumulo.
> Its still a little rough and I need to add encoder for all of the
> primitive types.
> Keith

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message