[JAVA-2862] Support nameOnly option in listCollections command Created: 17/May/18  Updated: 28/Oct/23  Resolved: 25/May/18

Status: Closed
Project: Java Driver
Component/s: Command Operations
Affects Version/s: None
Fix Version/s: 3.8.0

Type: New Feature Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-487 Support nameOnly option in listCollec... Closed
Epic Link: Java MongoDB 4.0 Support

 Description   

See spec changes here.



 Comments   
Comment by Githook User [ 25/May/18 ]

Author:

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

Message: JAVA-2862: Support nameOnly field for listCollections command

MongoDB 4.0 adds support for the nameOnly field to the listCollections
command, which optimized for the case where the client only requires the
name and not all of the other metadata associated with collections.

This patch uses that optimization to implement the listCollectionNames
methods that already exist in the driver.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/0cb750c5853c285d5256b6cb4315f3bb66cf3267

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