Class: Tango::ETL::OperatorInterface
- Inherits:
-
Object
- Object
- Tango::ETL::OperatorInterface
- Defined in:
- lib/tango/etl/operator_interface.rb
Overview
Interface of an operator that implements ETL pattern
Class Method Summary collapse
-
.extract(element) ⇒ Object
Extract resource params.
-
.load(resources) ⇒ Object
Load resources into a storage.
-
.transform(resource) ⇒ Object
Transform resource params to desired state.
Class Method Details
.extract(element) ⇒ Object
Extract resource params
14 15 16 |
# File 'lib/tango/etl/operator_interface.rb', line 14 def self.extract( element ) raise NotImplementedError end |
.load(resources) ⇒ Object
Load resources into a storage
29 30 31 |
# File 'lib/tango/etl/operator_interface.rb', line 29 def self.load( resources ) raise NotImplementedError end |
.transform(resource) ⇒ Object
Transform resource params to desired state
22 23 24 |
# File 'lib/tango/etl/operator_interface.rb', line 22 def self.transform( resource ) raise NotImplementedError end |