Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo, mail # user - How to store numerics or dates as values in Accumulo?


Copy link to this message
-
Re: How to store numerics or dates as values in Accumulo?
Keith Turner 2012-12-21, 22:01
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 <[EMAIL PROTECTED]> 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