Module: Timescaledb::Toolkit::TimeVector::ClassMethods
- Defined in:
- lib/timescaledb/toolkit/time_vector.rb
Instance Method Summary collapse
Instance Method Details
#segment_by_column ⇒ Object
19 20 21 |
# File 'lib/timescaledb/toolkit/time_vector.rb', line 19 def segment_by_column [:segment_by] end |
#time_column ⇒ Object
15 16 17 |
# File 'lib/timescaledb/toolkit/time_vector.rb', line 15 def time_column respond_to?(:time_column) && super || [:time_column] end |
#value_column ⇒ Object
11 12 13 |
# File 'lib/timescaledb/toolkit/time_vector.rb', line 11 def value_column @value_column ||= [:value_column] || :val end |