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 Plain View
Accumulo >> mail # user >> How to store numerics or dates as values in Accumulo?


+
Kevin Pauli 2012-12-21, 21:23
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
+
William Slacum 2012-12-21, 22:08
+
David Medinets 2012-12-22, 00:48
+
David Medinets 2012-12-21, 21:29
+
Kevin Pauli 2012-12-21, 21:52
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