Class: Purview::Tables::Raw

Inherits:
BaseSyncable show all
Defined in:
lib/purview/tables/raw.rb

Instance Attribute Summary

Attributes inherited from Base

#columns, #database, #indices

Instance Method Summary collapse

Methods inherited from BaseSyncable

#created_timestamp_column, #created_timestamp_index, #id_column, #sync, #temporary_name, #updated_timestamp_column, #updated_timestamp_index

Methods inherited from Base

#column_names, #columns_by_name, #columns_by_source_name, #initialize

Methods included from Mixins::Logger

#logger, #logger_opts, #logger_type, #with_context_logging

Methods included from Mixins::Helpers

#blank?, #coalesced, #filter_blank_values, #filter_nil_values, #present?, #timestamp, #with_timestamp, #zero?

Constructor Details

This class inherits a constructor from Purview::Tables::Base

Instance Method Details

#nameObject



4
5
6
# File 'lib/purview/tables/raw.rb', line 4

def name
  "#{super}_raw"
end

#window_sizeObject



8
9
10
# File 'lib/purview/tables/raw.rb', line 8

def window_size
  opts[:window_size] || (24 * 60 * 60)
end