public class VectorMapJoinFastLongHashMultiSet extends VectorMapJoinFastLongHashTable implements VectorMapJoinLongHashMultiSet
| 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 |
|---|
VectorMapJoinFastLongHashMultiSet(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,
VectorMapJoinHashMultiSetResult hashMultiSetResult) |
boolean |
containsLongKey(long currentKey) |
VectorMapJoinHashMultiSetResult |
createHashMultiSetResult() |
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 VectorMapJoinFastLongHashMultiSet(boolean isFullOuter,
boolean minMaxEnabled,
VectorMapJoinDesc.HashTableKeyType hashTableKeyType,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount,
TableDesc tableDesc)
public VectorMapJoinHashMultiSetResult createHashMultiSetResult()
createHashMultiSetResult in interface VectorMapJoinHashMultiSetpublic 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, VectorMapJoinHashMultiSetResult hashMultiSetResult)
contains in interface VectorMapJoinLongHashMultiSetpublic long getEstimatedMemorySize()
getEstimatedMemorySize in interface MemoryEstimategetEstimatedMemorySize in class VectorMapJoinFastLongHashTableCopyright © 2022 The Apache Software Foundation. All rights reserved.