Re: Composite key in thrift java api - still need help!!

2012-07-06 Thread aaron morton
AFAIK in all cases we consider values to be just bytes. They are passed to the ADT to turn into type aware instances. Can you try doing what you want to do with Hector or Astyanax? Then take a look at how they work if you still want to roll your own. Cheers - Aaron Morton Fre

RE: Composite key in thrift java api - still need help!!

2012-07-06 Thread Leonid Ilyevsky
I tried it, does not work for my batch_mutate (I tried both CompositeType.Builder and also my own implementation following the code examples). So it seems that the format with short length before the field and zero byte after does not work for the key. I found by experiment and debugger that in