[JAVA-117] DBCursor: Allow changing batchSize (REMOVED: and skipping while cursor is active.) Created: 27/May/10  Updated: 29/Oct/10  Resolved: 27/May/10

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

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

all



 Description   

DBCursor should allow changing the batchSize while the cursor is open. Also, skip should work as well.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 27/May/10 ]

changed this to just change batch size while iterating

Comment by Scott Hernandez (Inactive) [ 27/May/10 ]

I added SERVER-1168 to address the lack of skip support on an active cursor. I suspect that will be much faster than re-issuing a query with an offset of the current walked item count ( esp since items could have been removed since the start of the cursor's creation) plus the new skip value.

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