Class: Ductr::ETL::Transform
- Defined in:
- lib/ductr/etl/controls/transform.rb
Overview
Base class for implementing transforms.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Control
#adapter, #job_method, #options
Instance Method Summary collapse
-
#close ⇒ void
Called when the last row is reached.
-
#process(row) ⇒ void
Calls the control method and passes the row.
Methods inherited from Control
Constructor Details
This class inherits a constructor from Ductr::ETL::Control
Instance Method Details
#close ⇒ void
This method returns an undefined value.
Called when the last row is reached.
25 |
# File 'lib/ductr/etl/controls/transform.rb', line 25 def close; end |
#process(row) ⇒ void
This method returns an undefined value.
Calls the control method and passes the row.
16 17 18 |
# File 'lib/ductr/etl/controls/transform.rb', line 16 def process(row) call_method(row) end |