Class: ActiveWarehouse::DateDimension

Inherits:
Dimension
  • Object
show all
Defined in:
lib/active_warehouse/dimension/date_dimension.rb

Overview

Explicit date dimension, because Date dimension has special columns which can be configured to have different names.

Class Method Summary collapse

Methods inherited from Dimension

available_child_values, available_values, available_values_tree, class_for_name, class_name, define_hierarchy, denominator_count, expire_value_tree_cache, #expire_value_tree_cache, foreign_key, hierarchies, hierarchy, hierarchy_levels, last_modified, set_level_order, set_order, sym, table_name, to_dimension

Methods included from SlowlyChangingDimension

included

Methods included from HierarchicalDimension

included

Class Method Details

.set_sql_date_stamp(name) ⇒ Object



6
7
8
# File 'lib/active_warehouse/dimension/date_dimension.rb', line 6

def set_sql_date_stamp(name)
  @sql_date_stamp = name
end

.sql_date_stampObject



10
11
12
# File 'lib/active_warehouse/dimension/date_dimension.rb', line 10

def sql_date_stamp
  @sql_date_stamp ||= "sql_date_stamp"
end