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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.0
    • None
    • Query Operations
    • None

    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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: