Class: MapRedus::ToRedisHash

Inherits:
Finalizer show all
Defined in:
lib/mapredus/default_classes.rb

Class Method Summary collapse

Methods inherited from Finalizer

perform

Methods inherited from QueueProcess

perform, queue

Class Method Details

.finalize(process) ⇒ Object



75
76
77
78
79
# File 'lib/mapredus/default_classes.rb', line 75

def self.finalize(process)
  process.each_key_reduced_value do |key, value|
    process.outputter.encode(process.result_key, key, value)
  end
end