[JAVA-2443] Deprecate methods and classes related to inline results for the aggregate command Created: 07/Feb/17  Updated: 21/Aug/17  Resolved: 22/Feb/17

Status: Closed
Project: Java Driver
Component/s: Query Operations
Affects Version/s: None
Fix Version/s: 3.5.0

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

Issue Links:
Depends
is depended on by DRIVERS-350 Deprecate methods and classes relate... Closed
Related
Epic Link: Java MongoDB 3.6 Support

 Description   

Inline results for the aggregate command was deprecated in MongoDB 3.4 and will be removed in MongoDB 3.6. Any methods and classes related to inline results should be deprecated. These include:

  • com.mongodb.client.AggregateIterable#useCursor
  • com.mongodb.async.client.AggregateIterable#useCursor
  • com.mongodb.AggregationOutput
  • com.mongodb.DBCollection#aggregate(com.mongodb.DBObject, com.mongodb.DBObject...)
  • com.mongodb.DBCollection#aggregate(java.util.List<? extends com.mongodb.DBObject>)
  • com.mongodb.DBCollection#aggregate(java.util.List<? extends com.mongodb.DBObject>, com.mongodb.ReadPreference)
  • com.mongodb.operation.AggregateOperation#getUseCursor
  • com.mongodb.operation.AggregateOperation#useCursor


 Comments   
Comment by Githook User [ 22/Feb/17 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-2443: Deprecate classes and methods related to use of the aggregate command with pre-MongoDB 2.6 style inline results
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/956bbd13cfa55eefb9fb1bcc8b3f291e9b0cab47

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