You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2010/06/09 01:41:31 UTC

[Cassandra Wiki] Update of "API" by MatthewDennis

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "API" page has been changed by MatthewDennis.
The comment on this change is: CASSANDRA-1168.
http://wiki.apache.org/cassandra/API?action=diff&rev1=58&rev2=59

--------------------------------------------------

  
  Gets information about the specified keyspace.
  
+ === truncate ===
+ ''Requires Cassandra 0.7''
+ 
+  . `truncate(column_family)`
+ 
+ Removes all the rows from the given column family.
+ 
  === system_add_column_family ===
  ''Requires Cassandra 0.7''
  
@@ -355, +362 @@

  === system_drop_column_family ===
  ''Requires Cassandra 0.7''
  
-  . `string system_drop_column_family(keyspace, column_family)`
+  . `string system_drop_column_family(column_family)`
  
  Drops a column family. Creates a snapshot and then submits a 'graveyard' compaction during which the abandoned files will be deleted. Returns the new schema version ID.
  
  === system_rename_column_family ===
  ''Requires Cassandra 0.7''
  
-  . `string system_rename_column_family(keyspace, old_name, new_name)`
+  . `string system_rename_column_family(old_name, new_name)`
  
  Renames a column family if the new name doesn't collide with an existing column family associated with the same keyspace. This operation blocks while the operating system renames files on disk. Returns the new schema version ID.