Re: Thrift Java Client - Get a column family from a Keyspace

2011-07-17 Thread aaron morton
Currently the only way for that would be iterating through the list of column families returned by the getCf_defs() method. Yes. BTW most people access cassandra via a higher level client, for the Java peeps tend to use either Hector or Pelops. Aside from not having to code against thrift

Thrift Java Client - Get a column family from a Keyspace

2011-07-14 Thread Chandrasekhar M
Hi I have been playing around with Cassandra and its Java Thrift Client. From my understanding, one could get/retrieve a Keyspace, KsDef object, using the describe_keyspace(String name) method on the Cassandra.Client object. Subsequently, one could get a list of all the ColumnFamily