cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "API" by MatthewDennis
Date Tue, 08 Jun 2010 23:41:31 GMT
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.
  

Mime
View raw message