I'm working on a map that works using a houp (with mongodibi), I have a key, Add value as output, and multiple column values as output.
Is it possible to make documents embedded in output format in a document?
Normally I can get the output (I collect all the IDs in the map process, and in the reducer ADD attached to - .
----------------------- ---- Date ID ----------------- ---------- 2013-06-21 12-22-33 2013-06-22 34- 56-78-89 ------------------ ----------- But the expected output is such that the ID should be as embedded in the embedded document (mongodibi style)
--------------------------- Date ID --------------------- ------ 2013-06-21 0 - 12 1 - 22 2 - 33 2013-06-22 0 - 34 1 - 56 2 - 78 3 - 89 ------------- ---------------- Thanks.
Yes, when you create BSONobage in your output, just as BSNObjects as N values
something like
BasicJohn Object output = new basicjon object (); Output.put ("2013-06-21", new BasicBoxone object ("0", 12));
No comments:
Post a Comment