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/10/28 00:50:10 UTC
[Cassandra Wiki] Update of "API" by JonHermes
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 JonHermes.
http://wiki.apache.org/cassandra/API?action=diff&rev1=68&rev2=69
--------------------------------------------------
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.
+ === describe_cluster_name ===
+ ''Requires Cassandra 0.6''
+
+ . `string describe_cluster_name()`
+
+ Gets the name of the cluster.
+
+ === describe_version ===
+ ''Requires Cassandra 0.6''
+
+ . `string describe_version()`
+
+ Gets the Thrift API version.
+
+ === describe_ring ===
+ ''Requires Cassandra 0.6''
+
+ . `list<TokenRange> describe_ring(string keyspace)`
+
+ Gets the token ring; a map of ranges to host addresses. Represented as a set of `TokenRange` instead of a map from range to list of endpoints, because you can't use Thrift structs as map keys: https://issues.apache.org/jira/browse/THRIFT-162 for the same reason, we can't return a set here, even though order is neither important nor predictable.
+
+ === describe_keyspace ===
+ ''Requires Cassandra 0.7''
+
+ . `KsDef describe_keyspace(string keyspace)`
+
+ Gets information about the specified keyspace.
+
=== describe_keyspaces ===
- ''Requires Cassandra 0.6''
+ ''Requires Cassandra 0.7''
- . `set<string> 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.)
- Gets a list of all the keyspaces configured for the cluster.
-
- === describe_cluster_name ===
- ''Requires Cassandra 0.6''
-
- . `string describe_cluster_name()`
-
- Gets the name of the cluster.
-
- === describe_version ===
- ''Requires Cassandra 0.6''
-
- . `string describe_version()`
-
- Gets the Thrift API version.
-
- === describe_ring ===
- ''Requires Cassandra 0.6''
-
- . `list<TokenRange> describe_ring(string keyspace)`
-
- Gets the token ring; a map of ranges to host addresses. Represented as a set of `TokenRange` instead of a map from range to list of endpoints, because you can't use Thrift structs as map keys: https://issues.apache.org/jira/browse/THRIFT-162 for the same reason, we can't return a set here, even though order is neither important nor predictable.
-
- === describe_keyspace ===
- ''Requires Cassandra 0.6''
-
- . `map<string, map<string, string>> describe_keyspace(string keyspace)`
-
- Gets information about the specified keyspace.
=== truncate ===
''Requires Cassandra 0.7''