Class: BSONKeyValueInput
- Defined in:
- lib/mongo-hadoop/input.rb
Instance Method Summary collapse
Methods inherited from BSONInput
Constructor Details
This class inherits a constructor from BSONInput
Instance Method Details
#each ⇒ Object
24 25 26 27 28 |
# File 'lib/mongo-hadoop/input.rb', line 24 def each while(doc = read) yield doc['_id'], doc end end |