Class: GOM::Storage::Configuration::View::MapReduce

Inherits:
Object
  • Object
show all
Defined in:
lib/gom/storage/configuration/view/map_reduce.rb

Overview

Contains all parameters for a map reduce view.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(map, reduce) ⇒ MapReduce

Returns a new instance of MapReduce.



8
9
10
# File 'lib/gom/storage/configuration/view/map_reduce.rb', line 8

def initialize(map, reduce)
  @map, @reduce = map, reduce
end

Instance Attribute Details

#mapObject

Returns the value of attribute map.



5
6
7
# File 'lib/gom/storage/configuration/view/map_reduce.rb', line 5

def map
  @map
end

#reduceObject

Returns the value of attribute reduce.



6
7
8
# File 'lib/gom/storage/configuration/view/map_reduce.rb', line 6

def reduce
  @reduce
end