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

Switch to Threaded View
Accumulo >> mail # user >> equivalent class for HBase Bytes ?

Copy link to this message
Re: equivalent class for HBase Bytes ?
Hi Sujee,

I don't think there's a direct equivalent.

For the typed methods in Bytes, you could look at the Lexicoder
implementations in Accumulo (accumulo-core module,
org.apache.accumulo.core.client.lexicoder package in 1.6.0). The
Lexicoders are also nice because they preserve correct sort order
(didn't look at the implementation of Bytes to see how they work).

There's a StringUtil and TextUtil class in o.a.a.c.util that may also
have some use for you.

On 12/20/13, 2:46 AM, Sujee Maniyam wrote:
> Hbase has a handy Bytes class that can help in creating row-keys
> http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/util/Bytes.html
> is there an equivalent utility class in Accumulo?
> thanks!
> Sujee Maniyam (http://sujee.net)