accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: equivalent class for HBase Bytes ?
Date Fri, 20 Dec 2013 08:47:08 GMT
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)
>

Mime
View raw message