Exception: MassiveRecord::ORM::ColumnFamiliesMissingError

Inherits:
MassiveRecordError show all
Defined in:
lib/massive_record/orm/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(klass, missing_column_families) ⇒ ColumnFamiliesMissingError

Returns a new instance of ColumnFamiliesMissingError.



40
41
42
43
# File 'lib/massive_record/orm/errors.rb', line 40

def initialize(klass, missing_column_families)
  @missing_column_families = missing_column_families
  super("hbase are missing some column families for class '#{klass.to_s}', table '#{klass.table_name}': #{@missing_column_families.join(' ')}. Please migrate the database.")
end

Instance Attribute Details

#missing_column_familiesObject (readonly)

Returns the value of attribute missing_column_families.



39
40
41
# File 'lib/massive_record/orm/errors.rb', line 39

def missing_column_families
  @missing_column_families
end