Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Commit

Permalink
Update docs and README for 1.0 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thobbs committed Nov 7, 2011
1 parent cf0a370 commit fd19994
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.mkd
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ with the following features:
* A batch interface * A batch interface
* A class for mapping classes to Cassandra column families * A class for mapping classes to Cassandra column families


The latest release is compatible with Cassandra 0.7 and 0.8. The latest release is fully compatible with Cassandra 0.8 and 1.0, and
compatible with data API of 0.7.


*pycassa* is open source under the [MIT license](http://www.opensource.org/licenses/mit-license.php). *pycassa* is open source under the [MIT license](http://www.opensource.org/licenses/mit-license.php).


Expand Down
2 changes: 1 addition & 1 deletion doc/assorted/pycassa_shell.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Example usage:
Index Type: KEYS Index Type: KEYS
Index Name: None Index Name: None
>>> SYSTEM_MANAGER.create_keyspace('Keyspace1', replication_factor=1) >>> SYSTEM_MANAGER.create_keyspace('Keyspace1', strategy_options={"replication_factor": "1"})
>>> SYSTEM_MANAGER.create_column_family('Keyspace1', 'Users', comparator_type=INT_TYPE) >>> SYSTEM_MANAGER.create_column_family('Keyspace1', 'Users', comparator_type=INT_TYPE)
>>> SYSTEM_MANAGER.alter_column_family('Keyspace1', 'Users', key_cache_size=100) >>> SYSTEM_MANAGER.alter_column_family('Keyspace1', 'Users', key_cache_size=100)
>>> SYSTEM_MANAGER.create_index('Keyspace1', 'Users', 'birthdate', LONG_TYPE, index_name='bday_index') >>> SYSTEM_MANAGER.create_index('Keyspace1', 'Users', 'birthdate', LONG_TYPE, index_name='bday_index')
Expand Down
2 changes: 1 addition & 1 deletion doc/tutorial.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Here's how to create the keyspace and column family:
.. code-block:: python .. code-block:: python
>>> SYSTEM_MANAGER.create_keyspace('Keyspace1', replication_factor=1) >>> SYSTEM_MANAGER.create_keyspace('Keyspace1', strategy_options={"replication_factor": "1"})
>>> SYSTEM_MANAGER.create_column_family('Keyspace1', 'ColumnFamily1') >>> SYSTEM_MANAGER.create_column_family('Keyspace1', 'ColumnFamily1')
Connecting to Cassandra Connecting to Cassandra
Expand Down

0 comments on commit fd19994

Please sign in to comment.