Class: Ductr::ETL::Destination
- Defined in:
- lib/ductr/etl/controls/destination.rb
Overview
Base class for implementing destinations.
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, closes the adapter.
-
#write(row) ⇒ void
Writes the row into the destination.
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, closes the adapter.
25 |
# File 'lib/ductr/etl/controls/destination.rb', line 25 def close; end |
#write(row) ⇒ void
This method returns an undefined value.
Writes the row into the destination.
16 17 18 |
# File 'lib/ductr/etl/controls/destination.rb', line 16 def write(row) call_method(row) end |