Class: MapRedus::JsonOutputter
- Inherits:
-
Outputter
- Object
- QueueProcess
- Outputter
- MapRedus::JsonOutputter
- Defined in:
- lib/mapredus/outputter.rb
Class Method Summary collapse
Methods inherited from Outputter
Methods inherited from QueueProcess
Class Method Details
.decode(result_key) ⇒ Object
24 25 26 |
# File 'lib/mapredus/outputter.rb', line 24 def self.decode(result_key) Helper.decode(FileSystem.get(result_key)) end |
.encode(result_key, o) ⇒ Object
28 29 30 |
# File 'lib/mapredus/outputter.rb', line 28 def self.encode(result_key, o) FileSystem.set(result_key, Helper.encode(o)) end |