Class MurmurHash3
java.lang.Object
org.apache.drill.exec.expr.fn.impl.DrillHash
org.apache.drill.exec.expr.fn.impl.MurmurHash3
MurmurHash3 was written by Austin Appleby, and is placed in the public
domain.
See http://smhasher.googlecode.com/svn/trunk/MurmurHash3.cpp
MurmurHash3_x64_128
MurmurHash3_x86_32
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final long
fmix64
(long k) static int
hash32
(double val, long seed) static int
static long
hash64
(double val, long seed) static long
static int
murmur3_32
(int bStart, int bEnd, DrillBuf buffer, int seed) static int
murmur3_32
(long val, int seed) static long
murmur3_64
(long val, int seed) static long
murmur3_64
(long bStart, long bEnd, DrillBuf buffer, int seed) Methods inherited from class org.apache.drill.exec.expr.fn.impl.DrillHash
getIntLittleEndian, getLongLittleEndian
-
Constructor Details
-
MurmurHash3
public MurmurHash3()
-
-
Method Details
-
fmix64
public static final long fmix64(long k) -
murmur3_64
-
murmur3_64
public static long murmur3_64(long val, int seed) -
murmur3_32
-
murmur3_32
public static int murmur3_32(long val, int seed) -
hash64
public static long hash64(double val, long seed) -
hash64
-
hash32
public static int hash32(double val, long seed) -
hash32
-