You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Ertio Lew <er...@gmail.com> on 2011/10/31 14:32:46 UTC

Re: Newbie question - fetching multiple columns of different datatypes and conversion from byte[]

Should the different datatype col values or names be first read as byte 
buffer & then converted to appropriate type using Hector's provided 
serializers api like the way shown below ?

ByteBuffer bb;
..

String s= StringSerializer.get().fromByteBuffer(bb);


Or are there any better ways ?