class Cassandra::Keyspace
Represents a cassandra keyspace
Inherits
Object
Methods
name
Returns this keyspace name
durable_writes?
Returns whether durables writes are enabled for this keyspace
has_table?
(name)Returns whether this keyspace has a table with the given name
table
(name)Returns a table or nil
each_table
(&block) aliased as: tablesYield or enumerate each table defined in this keyspace
has_type?
(name)Returns whether this keyspace has a user-defined type with the given name
type
(name)Returns a type or nil
each_type
(&block) aliased as: typesYield or enumerate each user-defined type present in this keyspace
to_cql
Returns a cql representation of this table
eql?
(other) aliased as: ==Returns whether this keyspace is equal to the other
inspect
Returns a CLI-friendly keyspace representation