lib/chronicle/etl/extractors/extractor.rb in chronicle-etl-0.4.0 vs lib/chronicle/etl/extractors/extractor.rb in chronicle-etl-0.4.1
- old
+ new
@@ -5,15 +5,15 @@
# Abstract class representing an Extractor for an ETL job
class Extractor
extend Chronicle::ETL::Registry::SelfRegistering
include Chronicle::ETL::Configurable
- setting :since, type: :date
- setting :until, type: :date
+ setting :since, type: :time
+ setting :until, type: :time
setting :limit
setting :load_after_id
- setting :filename
+ setting :input
# Construct a new instance of this extractor. Options are passed in from a Runner
# == Parameters:
# options::
# Options for configuring this Extractor
@@ -44,10 +44,10 @@
# end
end
end
end
-require_relative 'helpers/filesystem_reader'
+require_relative 'helpers/input_reader'
require_relative 'csv_extractor'
require_relative 'file_extractor'
require_relative 'json_extractor'
require_relative 'stdin_extractor'