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: Added describe_snitch(). http://wiki.apache.org/cassandra/API?action=diff&rev1=19&rev2=20 -------------------------------------------------- Gets the name of the cluster. + === describe_partitioner === + . `string describe_partitioner()` + + Gets the name of the partitioner for the cluster. + + === describe_ring === + . `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_snitch === + . `string describe_snitch()` + + Gets the name of the snitch used for the cluster. + === describe_version === . `string describe_version()` Gets the Thrift API version. - === describe_ring === - . `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_partitioner === - . `string describe_partitioner()` - - Gets the name of the partitioner for the cluster. - === describe_keyspace === . `KsDef describe_keyspace(string keyspace)`
