Class: HadoopDsl::BaseMapperModel
Direct Known Subclasses
HiveLike::HiveLikeMapperModel, LogAnalysis::LogAnalysisMapperModel, WordCount::WordCountMapperModel
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from BaseModel
Instance Method Summary collapse
-
#initialize(key, value) ⇒ BaseMapperModel
constructor
A new instance of BaseMapperModel.
Methods included from DslElement
Constructor Details
#initialize(key, value) ⇒ BaseMapperModel
Returns a new instance of BaseMapperModel.
94 95 96 |
# File 'lib/core.rb', line 94 def initialize(key, value) @key, @value = key, value end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HadoopDsl::DslElement
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
92 93 94 |
# File 'lib/core.rb', line 92 def key @key end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
92 93 94 |
# File 'lib/core.rb', line 92 def value @value end |