thrift-protocol

Thrift JS compatibility with Cassandra (JSON Protocol)

I have generated a Thrift lib for Cassandra targeting JavaScript from the latest Thrift build in SVN. However, I noticed in the provided js thrift client library the following statement: This client can only speak the JSON Protocol and the only supported transport is AJAX. Does anyone know if the JSON protocol is compatible wi...

Apache thrift, struct contain itself

I am looking into thrift for serialization of data. But Document says cyclic structs - Structs can only contain structs that have been declared before it. A struct also cannot contain itself One of our requirement is Struct A List of Child items Items(Items are Struct A ) So reading requirement i can't have Struct within itse...

Using "oneway void" in Thrift function definitions

Hi all, I'm using a oneway modifier in one of my Thrift function definitions: ... oneway void secret_function(1: string x, 2: string y), ... When generating the respective Erlang code via Thrift, this is translated into: ... function_info('secret_function', reply_type) -> oneway_void; function_info('secret_function', exceptions) -...