0

I have a use case where I need to check if an element already exists in the Hyperloglog and if not, I need to make a hbase call. Do we have any method IN JAVA to check if element already exists in HyperLogLog

1 Answers1

1

HyperLogLog is not suitable for checking element memberships. Use a Bloom filter, if you need a compact data structure for approximative set membership testing. More recent, but more complicated alternatives would be Cuckoo, XOR, or Ribbon filters.

otmar
  • 386
  • 1
  • 9