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_materialized_view?
(name)Returns whether this keyspace has a materialized view with the given name
materialized_view
(name)Returns a materialized view or nil
each_materialized_view
(&block) aliased as: materialized_viewsYield or enumerate each materialized view 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
has_function?
(name, *args)Returns whether this keyspace has a function with the given name and arguments
function
(name, *args)Returns a function or nil
each_function
(&block) aliased as: functionsYield or enumerate each function defined in this keyspace
has_aggregate?
(name, *args)Returns whether this keyspace has an aggregate with the given name and arguments
aggregate
(name, *args)Returns an aggregate or nil
each_aggregate
(&block) aliased as: aggregatesYield or enumerate each aggregate defined in this keyspace
to_cql
Returns a cql representation of this keyspace