Interface RangeCompatibleHashFunction

All Superinterfaces:
HashFunction
All Known Implementing Classes:
Murmur3HashFunction

public interface RangeCompatibleHashFunction extends HashFunction
Tagging interface for hash functions that can reasonably be used with RangeHashTable.

Such hash functions produce a hash that is evenly distributed across the integer space. That's not the case of SimpleHashFunction, which requires a modulo operation before it can be used reliably in a hash table.

  • Method Summary

    Methods inherited from interface org.hibernate.search.util.common.data.impl.HashFunction

    hash