[JAVA-1546] Operations that return cursors should not abstract batches of results Created: 12/Nov/14  Updated: 31/Mar/15  Resolved: 18/Nov/14

Status: Closed
Project: Java Driver
Component/s: Query Operations
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It will be useful to high level APIs if operations that return cursors expose the batches as first class citizens. This will allow batch size to be controlled on a per-request basis, which will help create reactive streams that support back pressure.



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 30/Jan/15 ]

Author:

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

Message: Handling case where the first batch of a tailable cursor is empty but still provides a cursorId

JAVA-1546
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/71bfa8e1f8fde8730e16f85a06997318ac947bc7

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Cleaner fix for OperationIterable looping logic

JAVA-1546
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/4b798d9855df7855bfdda83c36d0e3cde38e0fc3

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Fix OperationIterable looping logic

JAVA-1546
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/a178ca3b413efbfea86db5cccd1f82df8881852f

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Add AsyncBatchCursor to operations

JAVA-1546
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/b8ffd2f6f5666896d9766ad4b8fec4a9319ed7d0

Comment by Githook User [ 30/Jan/15 ]

Author:

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

Message: Created AsyncBatchCursor and implementation, while allows users of core to operate on query batches directly
rather than through an abstraction which hides the existence of batches. Among other things, this will allow
users of core to implement back pressure.

JAVA-1546
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/13cbd7a1ee6f85f0801c1e2d674eb11051315093

Comment by Githook User [ 30/Jan/15 ]

Author:

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

Message: Added BatchCursor interface and implementation to expose batches directly in core and using it in all operations

JAVA-1546
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/c013f7172cce88f29e2d52d551bad8908ca55997

Comment by Githook User [ 18/Nov/14 ]

Author:

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

Message: Handling case where the first batch of a tailable cursor is empty but still provides a cursorId

JAVA-1546
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/71bfa8e1f8fde8730e16f85a06997318ac947bc7

Comment by Githook User [ 18/Nov/14 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Cleaner fix for OperationIterable looping logic

JAVA-1546
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/4b798d9855df7855bfdda83c36d0e3cde38e0fc3

Comment by Githook User [ 18/Nov/14 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Fix OperationIterable looping logic

JAVA-1546
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/a178ca3b413efbfea86db5cccd1f82df8881852f

Comment by Githook User [ 18/Nov/14 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Add AsyncBatchCursor to operations

JAVA-1546
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/b8ffd2f6f5666896d9766ad4b8fec4a9319ed7d0

Comment by Githook User [ 17/Nov/14 ]

Author:

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

Message: Created AsyncBatchCursor and implementation, while allows users of core to operate on query batches directly
rather than through an abstraction which hides the existence of batches. Among other things, this will allow
users of core to implement back pressure.

JAVA-1546
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/13cbd7a1ee6f85f0801c1e2d674eb11051315093

Comment by Githook User [ 17/Nov/14 ]

Author:

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

Message: Added BatchCursor interface and implementation to expose batches directly in core and using it in all operations

JAVA-1546
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/c013f7172cce88f29e2d52d551bad8908ca55997

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