Class: HadoopDsl::BaseMapper
- Inherits:
-
BaseMapRed
- Object
- BaseMapRed
- HadoopDsl::BaseMapper
- Defined in:
- lib/core.rb
Direct Known Subclasses
HiveLike::HiveLikeMapper, LogAnalysis::LogAnalysisMapper, WordCount::WordCountMapper
Instance Attribute Summary
Attributes inherited from BaseMapRed
Instance Method Summary collapse
-
#identity ⇒ Object
common functions.
Methods inherited from BaseMapRed
Methods included from DslController
Methods included from DslElement
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
#identity ⇒ Object
common functions
63 64 65 |
# File 'lib/core.rb', line 63 def identity emit(@model.key => @model.value) end |