class Cassandra::ColumnContainer::Options
Encapsulates all of the configuration options of a column-container.
Inherits
Object
Methods
comment
Returns the comment attribute of this column-container.
read_repair_chance
Returns the chance with which a read repair is triggered for this column-container.
local_read_repair_chance
Returns the cluster local read repair chance for this column-container.
gc_grace_seconds
Returns the tombstone garbage collection grace time in seconds for this column-container.
caching
Returns the caching options for this column-container.
bloom_filter_fp_chance
Returns the false positive chance for the Bloom filter of this column-container.
memtable_flush_period_in_ms
Returns how often (in milliseconds) to flush the memtable of this column-container.
default_time_to_live
Returns the default TTL for this column-container.
speculative_retry
Return the speculative retry setting of this column-container, which determines how much response delay the coordinator node will tolerate from the chosen replica before retrying the request on other replicas. This setting can be expressed as a fixed delay in ms (e.g. 10ms) or as a percentile indicating “when the response time has exceeded the Nth percentile of read response times for this object” (e.g. 99percentile).
index_interval
Return the index interval of this column-container; Cassandra will hold 1/index_interval
of row keys in
memory.
compression
Returns compression settings
crc_check_chance
When compression is enabled, this option defines the probability with which checksums for compressed blocks are checked during reads.
extensions
Returns the extension options of this column-container.
compaction_strategy
Returns the compaction strategy of this column-container.
replicate_on_write?
Return whether to replicate counter updates to other replicas. It is strongly recommended
that this setting be true
. Otherwise, counter updates are only written to one replica
and fault tolerance is sacrificed.
populate_io_cache_on_flush?
Returns whether to populate the I/O cache on flush of this
column-container. May be nil, indicating a default value of false
.
compact_storage?
Returns whether this column-container uses compact storage.