Class: HadoopDsl::BaseReducerModel
Direct Known Subclasses
HiveLike::HiveLikeReducerModel, LogAnalysis::LogAnalysisReducerModel, WordCount::WordCountReducerModel
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Attributes inherited from BaseModel
Instance Method Summary collapse
-
#initialize(key, values) ⇒ BaseReducerModel
constructor
A new instance of BaseReducerModel.
Methods included from DslElement
Constructor Details
#initialize(key, values) ⇒ BaseReducerModel
Returns a new instance of BaseReducerModel.
102 103 104 |
# File 'lib/core.rb', line 102 def initialize(key, values) @key, @values = key, values 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.
100 101 102 |
# File 'lib/core.rb', line 100 def key @key end |
#values ⇒ Object (readonly)
Returns the value of attribute values.
100 101 102 |
# File 'lib/core.rb', line 100 def values @values end |