Class XXH64
- java.lang.Object
-
- org.apache.flink.table.runtime.functions.aggregate.hyperloglog.XXH64
-
public final class XXH64 extends Object
xxHash64. A high quality and fast 64 bit hash code by Yann Colet and Mathias Westerdahl. The class below is modelled like its Murmur3_x86_32 cousin.This was largely based on the following (original) C and Java implementations: https://github.com/Cyan4973/xxHash/blob/master/xxhash.c https://github.com/OpenHFT/Zero-Allocation-Hashing/blob/master/src/main/java/net/openhft/hashing/XxHash_r39.java https://github.com/airlift/slice/blob/master/src/main/java/io/airlift/slice/XxHash64.java
-
-
Field Summary
Fields Modifier and Type Field Description static longDEFAULT_SEED
-
Constructor Summary
Constructors Constructor Description XXH64()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longhashInt(int input, long seed)static longhashLong(long input, long seed)static longhashUnsafeBytes(org.apache.flink.core.memory.MemorySegment ms, int offset, int length, long seed)
-
-
-
Field Detail
-
DEFAULT_SEED
public static final long DEFAULT_SEED
- See Also:
- Constant Field Values
-
-