Module: DataConduit::DataWarehouseRepository::InstanceMethods
- Defined in:
- lib/data_conduit/data_warehouse_repository.rb
Class Method Summary collapse
Instance Method Summary collapse
- #execute(_sql_query) ⇒ Object
- #initialize(_table_name, _conditions = nil, _config = {}) ⇒ Object
- #last_updated ⇒ Object
- #query(_sql_query = nil) ⇒ Object
Class Method Details
.tables(_config = {}) ⇒ Object
21 22 23 |
# File 'lib/data_conduit/data_warehouse_repository.rb', line 21 def self.tables(_config = {}) raise NotImplementedError, "You must implement the tables method" end |
Instance Method Details
#execute(_sql_query) ⇒ Object
29 30 31 |
# File 'lib/data_conduit/data_warehouse_repository.rb', line 29 def execute(_sql_query) raise NotImplementedError, "You must implement the execute method" end |
#initialize(_table_name, _conditions = nil, _config = {}) ⇒ Object
16 17 18 19 |
# File 'lib/data_conduit/data_warehouse_repository.rb', line 16 def initialize(_table_name, _conditions = nil, _config = {}) validate_table_name(table_name) raise NotImplementedError, "You must implement the initialize method" end |
#last_updated ⇒ Object
33 34 35 |
# File 'lib/data_conduit/data_warehouse_repository.rb', line 33 def last_updated raise NotImplementedError, "You must implement the last_updated method" end |
#query(_sql_query = nil) ⇒ Object
25 26 27 |
# File 'lib/data_conduit/data_warehouse_repository.rb', line 25 def query(_sql_query = nil) raise NotImplementedError, "You must implement the query method" end |