Module: CassandraModel::TableDebug

Included in:
RotatingTable, TableRedux
Defined in:
lib/cassandra_model/table_debug.rb

Defined Under Namespace

Classes: Debug

Instance Method Summary collapse

Instance Method Details

#debugObject



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/cassandra_model/table_debug.rb', line 18

def debug
  first_table = (@tables.first if @tables)
  Debug.new(
      name,
      table,
      @tables,
      first_table,
      @connection_name,
      connection,
      partition_key,
      clustering_columns,
      primary_key,
      columns,
      !!@allow_truncation,
      @schedule,
  )
end