Class Murmur3Hash32

java.lang.Object
io.airlift.slice.Murmur3Hash32

public final class Murmur3Hash32 extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    hash(int input)
    Special-purpose version for hashing a single int value.
    static int
    hash(int seed, Slice data, int offset, int length)
     
    static int
    hash(long input)
    Special-purpose version for hashing a single long value.
    static int
    hash(Slice data)
     
    static int
    hash(Slice data, int offset, int length)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • hash

      public static int hash(Slice data)
    • hash

      public static int hash(Slice data, int offset, int length)
    • hash

      public static int hash(int seed, Slice data, int offset, int length)
    • hash

      public static int hash(int input)
      Special-purpose version for hashing a single int value. Value is treated as little-endian
    • hash

      public static int hash(long input)
      Special-purpose version for hashing a single long value. Value is treated as little-endian