[JAVA-1179] In order to build a tailable cursor, allow to add flags on MongoView Created: 24/Apr/14 Updated: 31/Jul/14 Resolved: 31/Jul/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API, Async, Query Operations |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | 3.0.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Wursteisen David | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | driver, java, tailable-cursor | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
I'm currently trying new async method of the new mongodb java driver. Looking at the code, it's not possible to set "flags" on find query throught mongo collection as Find#addFlags is not expoted in the MongoView {code=java}collection.find().withFlags(Tailable& AwaitData).asyncForEach(...);
the idea is to build a tailable cursor as in Reactive Mongo scala driver (see https://github.com/sgodbillon/reactivemongo-tailablecursor-demo ) Is it something that you plan to introduce in the 3.0.0 driver ? Regards |
| Comments |
| Comment by Ross Lawley [ 31/Jul/14 ] |
|
See: |
| Comment by Jeffrey Yemin [ 24/Apr/14 ] |
|
Yes, we will be introducing this functionality. I'll keep this ticket open to track it. Thanks for pointing it out. |