Class HashHelper

java.lang.Object
org.apache.drill.exec.expr.fn.impl.HashHelper

public class HashHelper extends Object
  • Constructor Details

    • HashHelper

      public HashHelper()
  • Method Details

    • hash

      public static int hash(ByteBuffer buf, int seed)
      taken from mahout
    • hash32

      public static int hash32(int val, long seed)
    • hash32

      public static int hash32(long val, long seed)
    • hash32

      public static int hash32(float val, long seed)
    • hash64

      public static long hash64(float val, long seed)
    • hash64

      public static long hash64(long val, long seed)
    • hash64

      public static long hash64(double val, long seed)
    • hash64

      public static long hash64(long start, long end, DrillBuf buffer, long seed)
    • hash32

      public static int hash32(double val, long seed)
    • hash32

      public static int hash32(int start, int end, DrillBuf buffer, int seed)