[JAVA-129] New query options and response flags Created: 06/Jul/10  Updated: 29/Oct/10  Resolved: 06/Jul/10

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.1

Type: Improvement Priority: Major - P3
Reporter: Tony Hannan Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Two new query options (AwaitData and Exhaust) and all new response flags (CursorNotFound, QueryFailure, and AwaitCapable) have been added to the Mongo wire protocol (http://www.mongodb.org/display/DOCS/Mongo+Wire+Protocol). The driver should handle the response flags appropriately (eg. CursorNotFound should throw exception rather than silently end the query results). The driver may implement the new query options if desired.



 Comments   
Comment by auto [ 06/Jul/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: throw nicer exception on CursorNotFound JAVA-129
http://github.com/mongodb/mongo-java-driver/commit/46a72e8e6bc59305e66ac8ca63fd85239edb0939

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