Method: Cequel::Metal::DataSet#initialize

Defined in:
lib/cequel/metal/data_set.rb

#initialize(table_name, keyspace) ⇒ DataSet

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of DataSet.

Parameters:

  • table_name (Symbol)

    column family for this data set

  • keyspace (Keyspace)

    keyspace this data set’s table lives in

See Also:

Since:

  • 1.0.0



64
65
66
67
68
# File 'lib/cequel/metal/data_set.rb', line 64

def initialize(table_name, keyspace)
  @table_name, @keyspace = table_name, keyspace
  @select_columns, @ttl_columns, @writetime_columns, @row_specifications,
    @sort_order = [], [], [], [], {}
end