Class: Cassandra::ColumnContainer::Compaction

Inherits:
Object
  • Object
show all
Defined in:
lib/cassandra/column_container.rb

Overview

Encapsulates the compaction strategy of a column-container.

Instance Attribute Summary collapse

Instance Attribute Details

#class_nameString (readonly)

Returns the name of the Cassandra class that performs compaction.

Returns:

  • (String)

    the name of the Cassandra class that performs compaction.



192
193
194
# File 'lib/cassandra/column_container.rb', line 192

def class_name
  @class_name
end

#optionsHash (readonly)

Returns compaction strategy options.

Returns:

  • (Hash)

    compaction strategy options



194
195
196
# File 'lib/cassandra/column_container.rb', line 194

def options
  @options
end