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 TylerHobbs
Date Mon, 07 Mar 2011 04:31:41 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 TylerHobbs.
The comment on this change is: Remove duplicate (and incorrect) describe_keyspaces() entry.
http://wiki.apache.org/cassandra/API?action=diff&rev1=20&rev2=21

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

  
  Remove data from the row specified by `key` at the granularity specified by `column_path`,
and the given `timestamp`.  Note that all the values in `column_path` besides `column_path.column_family`
are truly optional: you can remove the entire row by just specifying the !ColumnFamily, or
you can remove a !SuperColumn or a single Column by specifying those levels too. Note that
the `timestamp` is needed, so that if the commands are replayed in a different order on different
nodes, the same result is produced.
  
+ === truncate ===
- === describe_keyspaces ===
-  . `set<string> describe_keyspaces()`
  
- Gets a list of all the keyspaces configured for the cluster.
+  . `truncate(string column_family)`
+ 
+ Removes all the rows from the given column family.
  
  === describe_cluster_name ===
   . `string describe_cluster_name()`
  
  Gets the name of the cluster.
  
+ === describe_keyspace ===
+ 
+  . `KsDef describe_keyspace(string keyspace)`
+ 
+ Gets information about the specified keyspace.
+ 
+ === describe_keyspaces ===
+ 
+  . `list<KsDef> describe_keyspaces()`
+ 
+ Gets a list of all the keyspaces configured for the cluster. (Equivalent to calling describe_keyspace(k)
for k in keyspaces.)
+ 
  === describe_partitioner ===
   . `string describe_partitioner()`
  
@@ -302, +315 @@

  
  Gets the Thrift API version.
  
- === describe_keyspace ===
- 
-  . `KsDef describe_keyspace(string keyspace)`
- 
- Gets information about the specified keyspace.
- 
- === describe_keyspaces ===
- 
-  . `list<KsDef> describe_keyspaces()`
- 
- Gets a list of all the keyspaces configured for the cluster. (Equivalent to calling describe_keyspace(k)
for k in keyspaces.)
- 
- === truncate ===
- 
-  . `truncate(string column_family)`
- 
- Removes all the rows from the given column family.
- 
  === system_add_column_family ===
  
   . `string system_add_column_family(CFDef cf_def)`

Mime
View raw message