public class VectorMapJoinFastBytesHashKeyRef extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VectorMapJoinFastBytesHashKeyRef.KeyRef |
Constructor and Description |
---|
VectorMapJoinFastBytesHashKeyRef() |
Modifier and Type | Method and Description |
---|---|
static int |
calculateHashCode(long refWord,
WriteBuffers writeBuffers,
WriteBuffers.Position readPos)
This method calculates the hash code of the key referred by the refWord.
|
static boolean |
equalKey(long refWord,
byte[] keyBytes,
int keyStart,
int keyLength,
WriteBuffers writeBuffers,
WriteBuffers.Position readPos) |
static long |
extractPartialHashCode(long hashCode)
Extract partial hash code from the full hash code.
|
static long |
getPartialHashCodeFromRefWord(long refWord)
Get partial hash code from the reference word.
|
public static boolean equalKey(long refWord, byte[] keyBytes, int keyStart, int keyLength, WriteBuffers writeBuffers, WriteBuffers.Position readPos)
public static int calculateHashCode(long refWord, WriteBuffers writeBuffers, WriteBuffers.Position readPos)
refWord
- The long value containing the offset of the key in writeBuffers.writeBuffers
- Buffer used for storing the keys present in the hash table.readPos
- temporary position to be used in this method.public static long extractPartialHashCode(long hashCode)
hashCode
- public static long getPartialHashCodeFromRefWord(long refWord)
Copyright © 2022 The Apache Software Foundation. All rights reserved.