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

Can only String datatype be used for value? #12172

Closed
Athi2019rit opened this issue Dec 21, 2023 · 1 comment
Closed

Can only String datatype be used for value? #12172

Athi2019rit opened this issue Dec 21, 2023 · 1 comment

Comments

@Athi2019rit
Copy link

Hi Guys, Is there any way to define the key value data type in rocksdb ?

Beccause I need to store an unordered_map as value for the key string in rocksdb, I cant do it. I've searched for it. But all suggests to convert it to string first and and then storing. In my use case converting unordered_map to string and then storing it and when getting again converting string to unordered_map is a costliest operation and affecting performance.

Kindly help me with this ?

@adamretter
Copy link
Collaborator

adamretter commented Dec 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants