Class: Wukong::Streamer::RecordStreamer
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary (collapse)
-
- (Object) recordize(line)
Default recordizer: returns array of fields by splitting at tabs.
Methods inherited from Base
#after_stream, #bad_record!, #before_stream, #each_record, #emit, #initialize, #mapper, mapper, #monitor, #options, #process, #run, run, #stream, #track
Constructor Details
This class inherits a constructor from Wukong::Streamer::Base
Instance Method Details
- (Object) recordize(line)
Default recordizer: returns array of fields by splitting at tabs
8 9 10 |
# File 'lib/wukong/streamer/record_streamer.rb', line 8 def recordize line line.split("\t") rescue nil end |