Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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?
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB