Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetAll() should return an iterator for the key-value items #44

Open
Tracked by #3
Ice3man543 opened this issue Jul 30, 2019 · 4 comments
Open
Tracked by #3

GetAll() should return an iterator for the key-value items #44

Ice3man543 opened this issue Jul 30, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Ice3man543
Copy link

Is your feature request related to a problem? Please describe.
The GetAll function should return an iterator to the key-value instead of reading the entire db into the memory since that'd make us dependable on the amount of system memory.

Describe the solution you'd like
Use callbacks to allow user to handle the key-value items returned from the db.

@xujiajun
Copy link
Member

xujiajun commented Jul 31, 2019

hi, @Ice3man543

Pull request welcome!

Don't forget compatible with all modes, like this:

	if idxMode == HintBPTSparseIdxMode {
	  ...
	}

	if idxMode == HintKeyValAndRAMIdxMode || idxMode == HintKeyAndRAMIdxMode {
          ...
        }

Thanks.

@zeina1i
Copy link
Member

zeina1i commented Jun 17, 2022

Hey @xujiajun
Can I work on this issue?

@xujiajun
Copy link
Member

@zeina1i Contributions welcome :)

@xujiajun
Copy link
Member

Hey @xujiajun Can I work on this issue?

You can go to this post to reply to participate nutsdb/proposal#3

@bigboss2063 bigboss2063 self-assigned this Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants