public class VectorMapJoinFastLongHashMultiSet extends VectorMapJoinFastLongHashTable implements VectorMapJoinLongHashMultiSet
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
slotPairs
estimatedKeyCount, HIGHEST_INT_POWER_OF_2, keysAssigned, largestNumberOfSteps, loadFactor, logicalHashBucketCount, logicalHashBucketMask, metricExpands, metricPutConflict, ONE_QUARTER_LIMIT, ONE_SIXTH_LIMIT, resizeThreshold, writeBuffersSize
Constructor and Description |
---|
VectorMapJoinFastLongHashMultiSet(boolean minMaxEnabled,
boolean isOuterJoin,
VectorMapJoinDesc.HashTableKeyType hashTableKeyType,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount) |
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) |
VectorMapJoinHashMultiSetResult |
createHashMultiSetResult() |
long |
getEstimatedMemorySize()
Returns estimated memory size based
JavaDataModel |
void |
testPutRow(long currentKey) |
add, findReadSlot, max, min, putRow, useMinMax
size, throwExpandError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
max, min, useMinMax
putRow, size
public VectorMapJoinFastLongHashMultiSet(boolean minMaxEnabled, boolean isOuterJoin, VectorMapJoinDesc.HashTableKeyType hashTableKeyType, int initialCapacity, float loadFactor, int writeBuffersSize, long estimatedKeyCount)
public VectorMapJoinHashMultiSetResult createHashMultiSetResult()
createHashMultiSetResult
in interface VectorMapJoinHashMultiSet
public void testPutRow(long currentKey) throws HiveException, IOException
HiveException
IOException
public void assignSlot(int slot, long key, boolean isNewKey, org.apache.hadoop.io.BytesWritable currentValue)
assignSlot
in class VectorMapJoinFastLongHashTable
public JoinUtil.JoinResult contains(long key, VectorMapJoinHashMultiSetResult hashMultiSetResult)
contains
in interface VectorMapJoinLongHashMultiSet
public long getEstimatedMemorySize()
MemoryEstimate
JavaDataModel
getEstimatedMemorySize
in interface MemoryEstimate
getEstimatedMemorySize
in class VectorMapJoinFastLongHashTable
Copyright © 2022 The Apache Software Foundation. All rights reserved.