Encapsulates all of the configuration options of a column-container.

Inherits

Object

Methods

comment

Returns the comment attribute of this column-container.

Returns:
Type Details
String the comment attribute of this column-container.

read_repair_chance

Returns the chance with which a read repair is triggered for this column-container.

Returns:
Type Details
Float 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.

Returns:
Type Details
Float 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.

Returns:
Type Details
Integer the tombstone garbage collection grace time in seconds for this column-container.

caching

Returns the caching options for this column-container.

Returns:
Type Details
Hash the caching options for this column-container.

bloom_filter_fp_chance

Returns the false positive chance for the Bloom filter of this column-container.

Returns:
Type Details
Float 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.

Returns:
Type Details
Integer how often (in milliseconds) to flush the memtable of this column-container.

default_time_to_live

Returns the default TTL for this column-container.

Returns:
Type Details
Integer 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).

Returns:
Type Details
String the speculative retry setting of this column-container.

index_interval

Return the index interval of this column-container; Cassandra will hold 1/index_interval of row keys in memory.

Returns:
Type Details
Integer the index interval of this column-container. May be nil, indicating a default value of 128.

compression

Returns compression settings

Returns:
Type Details
Hash compression settings

crc_check_chance

When compression is enabled, this option defines the probability with which checksums for compressed blocks are checked during reads.

Returns:
Type Details
Float the probability of checking checksums on compressed blocks.

extensions

Returns the extension options of this column-container.

Returns:
Type Details
Hash the extension options of this column-container.

compaction_strategy

Returns the compaction strategy of this column-container.

Returns:
Type Details
ColumnContainer::Compaction the compaction strategy of this column-container.

cdc

Returns whether or not change data capture is enabled on this table.

Returns:
Type Details
whether or not change data capture is enabled on this table.

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.

Returns:
Type Details
Boolean whether to replicate counter updates to other replicas.

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.

Returns:
Type Details
Boolean 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.

Returns:
Type Details
Boolean whether this column-container uses compact storage.