Class: Bricolage::FileDataSource

Inherits:
DataSource show all
Defined in:
lib/bricolage/filedatasource.rb

Constant Summary

Constants inherited from DataSource

DataSource::CLASSES

Instance Attribute Summary

Attributes inherited from DataSource

#context, #logger, #name

Instance Method Summary collapse

Methods inherited from DataSource

get_class, new_for_type, #open, #open_for_batch, #redshift_loader_source?

Constructor Details

#initialize(opts) ⇒ FileDataSource

Returns a new instance of FileDataSource.



9
10
# File 'lib/bricolage/filedatasource.rb', line 9

def initialize(opts)
end

Instance Method Details

#new_taskObject



12
13
14
# File 'lib/bricolage/filedatasource.rb', line 12

def new_task
  FileTask.new(self)
end