Class HashHelper
java.lang.Object
org.apache.drill.exec.expr.fn.impl.HashHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
hash
(ByteBuffer buf, int seed) taken from mahoutstatic int
hash32
(double val, long seed) static int
hash32
(float val, long seed) static int
static int
hash32
(int val, long seed) static int
hash32
(long val, long seed) static long
hash64
(double val, long seed) static long
hash64
(float val, long seed) static long
hash64
(long val, long seed) static long
-
Constructor Details
-
HashHelper
public HashHelper()
-
-
Method Details
-
hash
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
-
hash32
public static int hash32(double val, long seed) -
hash32
-