Class Murmur128

java.lang.Object
org.apache.drill.exec.store.pcap.decoder.Murmur128

public class Murmur128 extends Object
Simple port of MurmurHash with some state management. Drill's internal hashing isn't useful here because it only deals with off-heap memory.
  • Constructor Details

    • Murmur128

      public Murmur128(long h1, long h2)
  • Method Details

    • hash

      public void hash(int x)
    • hash

      public void hash(long x)
    • hash

      public void hash(byte[] buffer, int start, int end)
    • digest64

      public long digest64()