bloom icon indicating copy to clipboard operation
bloom copied to clipboard

Compatibility with Guava (Java)

Open GiovaniFerraroTrivelli opened this issue 1 year ago • 0 comments
trafficstars

Hello!

I would like to know if it's possible to make this library compatible with Guava (the Java library by Google).

When I try to load a Bloom Filter using Guava, it seems it can't parse the exported file correctly:

java.io.IOException: Unable to deserialize BloomFilter from InputStream. strategyOrdinal: 0 numHashFunctions: 0 dataLength: 797
	at com.google.common.hash.BloomFilter.readFrom(BloomFilter.java:636)

Guava is the most used library for Bloom Filter in Java, and certain use cases require its use in my Java project, alongside other microservices that were written in Go.

Thanks!

GiovaniFerraroTrivelli avatar May 27 '24 14:05 GiovaniFerraroTrivelli