public class VectorMapJoinFastLongHashSet extends VectorMapJoinFastLongHashTable implements VectorMapJoinLongHashSet
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
slotPairsestimatedKeyCount, FIRST_SIZE_UP, HIGHEST_INT_POWER_OF_2, isFullOuter, keysAssigned, largestNumberOfSteps, loadFactor, logicalHashBucketCount, logicalHashBucketMask, metricExpands, metricPutConflict, ONE_QUARTER_LIMIT, ONE_SIXTH_LIMIT, resizeThreshold, writeBuffersSize| Constructor and Description |
|---|
VectorMapJoinFastLongHashSet(boolean isFullOuter,
boolean minMaxEnabled,
VectorMapJoinDesc.HashTableKeyType hashTableKeyType,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount,
TableDesc tableDesc) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignSlot(int slot,
long key,
boolean isNewKey,
org.apache.hadoop.io.BytesWritable currentValue) |
JoinUtil.JoinResult |
contains(long key,
VectorMapJoinHashSetResult hashSetResult) |
boolean |
containsLongKey(long currentKey) |
VectorMapJoinHashSetResult |
createHashSetResult() |
long |
getEstimatedMemorySize() |
void |
putRow(long hashCode,
org.apache.hadoop.io.BytesWritable currentKey,
org.apache.hadoop.io.BytesWritable currentValue) |
void |
testPutRow(long currentKey) |
adaptPutRow, add, containsKey, findReadSlot, max, min, useMinMaxcheckResize, createMatchTracker, createNonMatchedIterator, size, spillPartitionId, throwExpandErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmax, min, useMinMaxcreateMatchTracker, createNonMatchedIterator, size, spillPartitionIdpublic VectorMapJoinFastLongHashSet(boolean isFullOuter,
boolean minMaxEnabled,
VectorMapJoinDesc.HashTableKeyType hashTableKeyType,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount,
TableDesc tableDesc)
public VectorMapJoinHashSetResult createHashSetResult()
createHashSetResult in interface VectorMapJoinHashSetpublic void putRow(long hashCode,
org.apache.hadoop.io.BytesWritable currentKey,
org.apache.hadoop.io.BytesWritable currentValue)
throws HiveException,
IOException
putRow in interface VectorMapJoinHashTablehashCode - current HashCode to avoid re-computationcurrentKey - The current Key in bytescurrentValue - The current Value in bytesHiveExceptionIOExceptionpublic boolean containsLongKey(long currentKey)
containsLongKey in interface VectorMapJoinHashTablecurrentKey - The key to check for existence.public void testPutRow(long currentKey)
throws HiveException,
IOException
HiveExceptionIOExceptionpublic void assignSlot(int slot,
long key,
boolean isNewKey,
org.apache.hadoop.io.BytesWritable currentValue)
assignSlot in class VectorMapJoinFastLongHashTablepublic JoinUtil.JoinResult contains(long key, VectorMapJoinHashSetResult hashSetResult)
contains in interface VectorMapJoinLongHashSetpublic long getEstimatedMemorySize()
getEstimatedMemorySize in interface MemoryEstimategetEstimatedMemorySize in class VectorMapJoinFastLongHashTableCopyright © 2024 The Apache Software Foundation. All rights reserved.