Class: Chicago::ETL::LoadFactStageBuilder

Inherits:
SchemaTableStageBuilder show all
Defined in:
lib/chicago/etl/schema_table_stage_builder.rb

Instance Method Summary collapse

Methods inherited from SchemaTableStageBuilder

#build

Methods inherited from StageBuilder

#build, #initialize

Constructor Details

This class inherits a constructor from Chicago::ETL::StageBuilder

Instance Method Details

#schema_table(name, options) ⇒ Object



59
60
61
62
# File 'lib/chicago/etl/schema_table_stage_builder.rb', line 59

def schema_table(name, options)
  fact_name = options[:dimension] || name.name
  @schema.fact(fact_name)
end