Cassandra NoSQL Database Module
depends: |
|
---|---|
configuration: | The location of the 'nodetool' command, host, and thrift port needs to be specified via pillar: cassandra.nodetool: /usr/local/bin/nodetool
cassandra.host: localhost
cassandra.thrift_port: 9160
|
salt.modules.cassandra.
column_families
(keyspace=None)¶Return existing column families for all keyspaces or just the provided one.
CLI Example:
salt '*' cassandra.column_families
salt '*' cassandra.column_families <keyspace>
salt.modules.cassandra.
column_family_definition
(keyspace, column_family)¶Return a dictionary of column family definitions for the given keyspace/column_family
CLI Example:
salt '*' cassandra.column_family_definition <keyspace> <column_family>
salt.modules.cassandra.
compactionstats
()¶Return compactionstats info
CLI Example:
salt '*' cassandra.compactionstats
salt.modules.cassandra.
info
()¶Return cassandra node info
CLI Example:
salt '*' cassandra.info
salt.modules.cassandra.
keyspaces
()¶Return existing keyspaces
CLI Example:
salt '*' cassandra.keyspaces
salt.modules.cassandra.
netstats
()¶Return netstats info
CLI Example:
salt '*' cassandra.netstats
salt.modules.cassandra.
ring
()¶Return cassandra ring info
CLI Example:
salt '*' cassandra.ring
salt.modules.cassandra.
tpstats
()¶Return tpstats info
CLI Example:
salt '*' cassandra.tpstats
salt.modules.cassandra.
version
()¶Return the cassandra version
CLI Example:
salt '*' cassandra.version