This adds the new thrift API from Cassandra 1.1. To be exact 1.1.0 or "19.30.0". There's already a new 19.32.0 available in Cassandra 1.1.1 - but the slightly older version has been used to retain maximum compatibility - especially since there's no Cassandra 1.1.1 version at http://downloads.datastax.com/community/ yet.
The imports in pycassa.cassandra.ttypes and pycassa.connection still use c10 instead of c11. There's test failures with c11, as a number of types have seen changes. For example related to caching as per http://www.datastax.com/dev/blog/caching-in-cassandra-1-1.
I'll try to look into supporting the new caching option on column families next, without impacting backwards compatibility. I haven't updated the changelog, as it looks like this is done once prior to release.
ignore virtualenv directories
Add new Cassandra 1.1.0 thrift API
Explain the Thrift Python API generation process to new contributors.
Update API to latest C* 1.1.1 (19.32.0)
With DSC 1.1.1 being available, I updated the API to that version. I also added some documentation to explain the Thrift generation process to new contributors like me - or as a reminder to seasoned developers.
Feel free to merge only parts of this pull request or provide any other kind of feedback.
update docs to point to C* 1.1
Manually add missing TApplicationException import
Revert change to wrong c10 module
This reverts commit 302dacf.
Update default imports to c11 and add test for pre-1.1 CF cache settings
adjust version check - C* 1.1.0 reports 19.30.0 via `describe_version()`
but 19.20.0 via `version` as `c11.constants.VERSION` is the newer `19.32.0`
add the new `caching` argument to CF related functions in system_manager
And finally changed the imports, making c11 the default version. I also added the new caching argument of column families and tested it and the prior version via row_cache_size etc.
Changes are in master now. Thanks again for your contributions!