Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Properly implement jumpToItem method #14

Merged
merged 1 commit into from Dec 11, 2019
Merged

Properly implement jumpToItem method #14

merged 1 commit into from Dec 11, 2019

Conversation

mdeinum
Copy link
Owner

@mdeinum mdeinum commented Dec 11, 2019

Prior to this commit the jumpToItem method would
only read a single sheet. However it could be that
multiple sheets would hae been involved in getting
to the itemCount as provided.

The fix was to cleanup the doRead method and to use
the doRead method to read upto the correct index. To
prevent memory issues, the rowmapper is temporarily
being swapped for a noop mapper.

Fixes: #13

Prior to this commit the jumpToItem method would
only read a single sheet. However it could be that
multiple sheets would hae been involved in getting
to the itemCount as provided.

The fix was to cleanup the doRead method and to use
the doRead method to read upto the correct index. To
prevent memory issues, the rowmapper is temporarily
being swapped for a noop mapper.

Fixes: #13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implementation of jumpToItem doesn't go to correct sheet
1 participant