Class: HadoopDsl::WordCount::WordCountReducerModel

Inherits:
BaseReducerModel show all
Defined in:
lib/word_count.rb

Instance Attribute Summary

Attributes inherited from BaseReducerModel

#key, #values

Attributes inherited from BaseModel

#controller

Instance Method Summary collapse

Methods inherited from BaseReducerModel

#initialize

Methods included from DslElement

#method_missing

Constructor Details

This class inherits a constructor from HadoopDsl::BaseReducerModel

Dynamic Method Handling

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

Instance Method Details

#total_value?Boolean

Returns:

  • (Boolean)


54
# File 'lib/word_count.rb', line 54

def total_value?; @key =~ /^#{TOTAL_PREFIX}/ end