Sha256: a7f3ddb545ab597318ac6fed9f26ea50953ef7d54aca50e155dc4f096fc94f0d
Contents?: true
Size: 571 Bytes
Versions: 11
Compression:
Stored size: 571 Bytes
Contents
module Martyr module Schema class TimeDimension # @param name [Symbol, String] # @param column [Symbol, String] def initialize(name, column: name) # TODO: convert the column into level definitions of week, month, and year # super(name: name.to_s) do |dimension| # dimension.add_level column, foreign_key: column # end end def build_data_slice(*args) Runtime::TimeDimensionDataSlice.new self, *args end def find_level(name) # TODO: implement end end end end
Version data entries
11 entries across 11 versions & 1 rubygems