I agree that it belongs on that mailing list but it's setup weird.. .I
can't subscribe to it in Google Groups… I am not sure what exactly is wrong
with it.. mailed the admins but it hasn't been resolved.


On Tue, Aug 19, 2014 at 1:49 AM, Sylvain Lebresne <sylv...@datastax.com>
wrote:

> This kind of question belong to the java driver mailing list, not the
> Cassandra one, please try to use the proper mailing list in the future.
>
> On Tue, Aug 19, 2014 at 10:11 AM, Fabrice Larcher <
> fabrice.larc...@level5.fr> wrote:
>
>>
>> But this is probably not very usefull, since you get only prints of
>> bytes. You can then test the type of the column (variable 'def') in order
>> to call the best suited method of 'row',
>>
>
> You don't have to "test" the type, you can just the deserialize method of
> the column type. So in Fabrice's example,
>   Object val =
> def.getType().deserialize(row.getBytesUnsafe(def.getName()));
>
> --
> Sylvain
>



-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Reply via email to