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?
Kevin Pauli 2012-12-21, 21:52
Would it be best to store such values in some a canonical lexical format
with a postfix of the datatype URI, kind of like the Turtle RDF format does
this?

"10"^^<http://www.w3.org/2001/XMLSchema#integer>
"-12.5e10"^^<http://www.w3.org/2001/XMLSchema#double>
"2012-12-21"^^<http://www.w3.org/2001/XMLSchema#date>

Also, does anyone know of Accumulo being used as an RDF triple store?  Any
links to projects or resources would be welcome.  It seems like a pretty
good fit.

On Fri, Dec 21, 2012 at 3:29 PM, David Medinets <[EMAIL PROTECTED]>wrote:

> http://affy.blogspot.com/2012/11/how-can-i-use-reverse-sort-on-integer.html
> shows one way to store numeric data.
>
> 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
>

--
Regards,
Kevin Pauli