class Cassandra::Table
Represents a cassandra table
Inherits
Methods
clustering_order
Returns an array of order values (:asc
or :desc
) that apply to the
clustering_columns
array.
has_index?
(name)Returns whether this table has a given index
index
(name)Returns an index or nil
each_index
(&block) aliased as: indexesYield or enumerate each index bound to this table
has_trigger?
(name)Returns whether this table has a given trigger
trigger
(name)Returns a trigger or nil
each_trigger
(&block) aliased as: triggersYield or enumerate each trigger bound to this table
has_materialized_view?
(name)Returns whether this table has a given materialized view
materialized_view
(name)Returns a materialized view or nil
each_materialized_view
(&block) aliased as: materialized_viewsYield or enumerate each materialized view bound to this table
to_cql
Returns a cql representation of this table