[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. |
| Comment by Jeffrey Yemin [ 07/Nov/13 ] |
|
See https://github.com/mongodb/mongo-csharp-driver/blob/master/MongoDB.Driver/CommandResults/MapReduceResult.cs for details. |