Hash

murmur_hash3_x86_32(data, offset, size, seed=16777619)

murmur3 hash function to determine partition

Parameters
  • data – (byte array), input byte array

  • offset – (long), offset.

  • size – (long), byte length.

  • seed – murmur hash seed hazelcast uses 0x01000193

Returns

(int32), calculated hash value.

hash_to_index(hash, length)