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
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.