Class: HadoopDsl::HiveLike::HiveLikeReducer

Inherits:
BaseReducer show all
Includes:
HiveLikeMapRed
Defined in:
lib/hive_like.rb

Instance Attribute Summary

Attributes inherited from BaseMapRed

#emitted

Instance Method Summary collapse

Methods included from HiveLikeMapRed

#pre_process, #sprit_and_marge_args

Methods inherited from BaseReducer

#aggregate, #identity

Methods inherited from BaseMapRed

#emit

Methods included from DslController

#pre_process, #run

Methods included from DslElement

#method_missing

Constructor Details

#initialize(script, key, values) ⇒ HiveLikeReducer

Returns a new instance of HiveLikeReducer.



70
71
72
# File 'lib/hive_like.rb', line 70

def initialize(script, key, values)
  super(script, HiveLikeReducerModel.new(key, values))
end

Dynamic Method Handling

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

Instance Method Details

#select(*args) ⇒ Object

emitters



77
# File 'lib/hive_like.rb', line 77

def select(*args) identity end