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

Is it possible to be compatible with java based roaringbitmap? #310

Open
zuston opened this issue Jan 20, 2025 · 3 comments
Open

Is it possible to be compatible with java based roaringbitmap? #310

zuston opened this issue Jan 20, 2025 · 3 comments

Comments

@zuston
Copy link

zuston commented Jan 20, 2025

Thanks for your great work in this project.
I want to know is it possible to serialize the bitmap into the bytes in rust side that could be deserialized by java roaringbitmap dependency

@zuston
Copy link
Author

zuston commented Jan 20, 2025

cc @Kerollmops

@Kerollmops
Copy link
Member

Hey @zuston 👋

The serialize_into method serializes a bitmap in a format that is compatible with the Java and the other ones. However, this crate will not generate ranges but bitmaps and lists of integers only.

@zuston
Copy link
Author

zuston commented Jan 21, 2025

Thanks for your quick reply @Kerollmops . BTW, which data structure could be compatible with the Roaring64NavigableMap in java side.

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