Class: HadoopDsl::BaseMapper

Inherits:
BaseMapRed show all
Defined in:
lib/core.rb

Instance Attribute Summary

Attributes inherited from BaseMapRed

#emitted

Instance Method Summary collapse

Methods inherited from BaseMapRed

#emit, #initialize

Methods included from DslController

#pre_process, #run

Methods included from DslElement

#method_missing

Constructor Details

This class inherits a constructor from HadoopDsl::BaseMapRed

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class HadoopDsl::DslElement

Instance Method Details

#identityObject

common functions



63
64
65
# File 'lib/core.rb', line 63

def identity
  emit(@model.key => @model.value)
end