[JAVA-1042] Deprecate MapReduceOutput.getCommandResult in favor of more specific methods Created: 07/Nov/13  Updated: 03/Apr/14  Resolved: 12/Nov/13

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.12.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Trisha Gee
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Deprecate MapReduceOutput.getCommandResult in favor of more specific getters for: collectionName, databaseName, duration, emitCount, outputCount, inputCount.



 Comments   
Comment by Jeffrey Yemin [ 12/Nov/13 ]

Author:

{u'username': u'trishagee', u'name': u'Trisha Gee', u'email': u'trisha.gee@10gen.com'}

Message: Deprecated MapReduceOutput.getCommandResult and added replacement methods. Also added tests for the replacements, which sadly required adding functional spock tests because MapReduceOutput requires Real Collections.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/d076b9198b9f22953dac3b4fb954badd7520f390

Comment by Jeffrey Yemin [ 07/Nov/13 ]

See https://github.com/mongodb/mongo-csharp-driver/blob/master/MongoDB.Driver/CommandResults/MapReduceResult.cs for details.

Generated at Thu Feb 08 08:53:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.