Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2443

Deprecate methods and classes related to inline results for the aggregate command

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.0
    • Affects Version/s: None
    • Component/s: Query Operations
    • Labels:
      None

      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

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: