Class: Purview::Tables::Raw

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

Instance Attribute Summary

Attributes inherited from Base

#database

Instance Method Summary collapse

Methods inherited from Base

#column_names, #columns, #columns_by_name, #columns_of_type, #created_timestamp_column, #data_columns, #id_column, #indexed_columns, #initialize, #starting_timestamp, #sync, #temporary_name, #updated_timestamp_column

Methods included from Mixins::Logger

#logger, #logger_opts, #logger_type, #with_context_logging

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