hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ioakim Perros <imper...@gmail.com>
Subject Re: Printing integers in the Hbase shell
Date Sat, 11 Aug 2012 15:41:05 GMT
On 08/11/2012 06:38 PM, David Koch wrote:
> Hello,
>
> I have a table whose qualifiers are always integer values. They are show in
> the shell in \x notation. Is there a way to have the shell show the decimal
> representation?
>
> Thank you,
>
> /David
>
Hello David,

You could take the String.valueOf(yourInt) and store the 
Bytes.toBytes(yourString) representation of this amount as column qualifier.

Regards,
Ioakim

Mime
View raw message