Class: GOM::Storage::Configuration::View::MapReduce
- Inherits:
-
Object
- Object
- GOM::Storage::Configuration::View::MapReduce
- Defined in:
- lib/gom/storage/configuration/view/map_reduce.rb
Overview
Contains all parameters for a map reduce view.
Instance Attribute Summary collapse
-
#map ⇒ Object
Returns the value of attribute map.
-
#reduce ⇒ Object
Returns the value of attribute reduce.
Instance Method Summary collapse
-
#initialize(map, reduce) ⇒ MapReduce
constructor
A new instance of MapReduce.
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
#map ⇒ Object
Returns the value of attribute map.
5 6 7 |
# File 'lib/gom/storage/configuration/view/map_reduce.rb', line 5 def map @map end |
#reduce ⇒ Object
Returns the value of attribute reduce.
6 7 8 |
# File 'lib/gom/storage/configuration/view/map_reduce.rb', line 6 def reduce @reduce end |