Class: ActiveWarehouse::PrejoinFact
- Inherits:
-
Object
- Object
- ActiveWarehouse::PrejoinFact
- Defined in:
- lib/active_warehouse/prejoin_fact.rb
Overview
Class that supports prejoining a fact table with dimensions. This is useful if you need to list facts along with some or all of their detail information.
Instance Attribute Summary collapse
-
#fact_class ⇒ Object
The fact class that this engine instance is connected to.
Instance Method Summary collapse
-
#initialize(fact_class) ⇒ PrejoinFact
constructor
Initialize the engine instance.
-
#populate(options = {}) ⇒ Object
Populate the prejoined fact table.
Constructor Details
#initialize(fact_class) ⇒ PrejoinFact
Initialize the engine instance
17 18 19 |
# File 'lib/active_warehouse/prejoin_fact.rb', line 17 def initialize(fact_class) @fact_class = fact_class end |
Instance Attribute Details
#fact_class ⇒ Object
The fact class that this engine instance is connected to
6 7 8 |
# File 'lib/active_warehouse/prejoin_fact.rb', line 6 def fact_class @fact_class end |
Instance Method Details
#populate(options = {}) ⇒ Object
Populate the prejoined fact table.
22 23 24 |
# File 'lib/active_warehouse/prejoin_fact.rb', line 22 def populate(={}) populate_prejoined_fact_table() end |