[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 |