accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Turner <ke...@deenlo.com>
Subject Re: How to store numerics or dates as values in Accumulo?
Date Fri, 21 Dec 2012 22:01:21 GMT
Take a look at  the Typo Lexicoders.   A Lexicoder serializes data
such that the serialized form sort correctly lexicographically.   Typo
has Long, ULong, Double, & BigInteger Lexicoders.

https://github.com/keith-turner/typo/tree/master/src/main/java/org/apache/accumulo/typo/encoders

Keith

On Fri, Dec 21, 2012 at 4:23 PM, Kevin Pauli <kevin@thepaulis.com> wrote:
> What is the recommended way of storing numeric data in Accumulo?  It looks
> like Mutation.put takes only a CharSequence or a Value, and a Value can only
> take a byte[].
>
> --
> Regards,
> Kevin Pauli

Mime
View raw message