incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Martini <fmart...@gmail.com>
Subject Thrift interface: struct field names
Date Wed, 29 Jul 2009 19:53:55 GMT
Hi all,

Structs in the Thrift interface have field names with underscores. The
Thrift code generator does not convert them to camel case names which
is common for .NET, e.g. a Column_family property is generated instead
of ColumnFamily for the ColumnParent class. If i understand it
correctly the Thrift wire format only uses the field identifier and
type and not the name. So if i change the field names of the Cassandra
interface file to camel case and generate the interface code, the code
should still work with Cassandra servers. Is that correct?

Best regards,
Felix

Mime
View raw message