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 NickTelford. The comment on this change is: Added describe methods from 0.6. http://wiki.apache.org/cassandra/API?action=diff&rev1=43&rev2=44 -------------------------------------------------- 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_keyspaces === + '''Requires Cassandra 0.6''' + + . `set<string> describe_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(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(keyspace)` + + Gets information about the specified keyspace. + == Examples == [[http://wiki.apache.org/cassandra/ClientExamples|There are a few examples on this page over here.]]
