cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Forkalsud <eforkals...@cj.com>
Subject Re: blob fields, bynary or hexa?
Date Wed, 18 Apr 2012 11:47:51 GMT
On 04/18/2012 03:02 AM, mdione.ext@orange.com wrote:
>    We're building a database to stock the avatars for our users in three sizes. Thing
is,
> We planned to use the blob field with a ByteType validator, but if we try to inject the
> binary data as read from the image file, we get a<cannot parse as hex bytes>  error.

Which client are you using?  With Hector or straight thrift, your should 
be able to store byte[] directly.


- Erik -

Mime
View raw message