public abstract class VectorMapJoinFastLongHashTable extends VectorMapJoinFastHashTable implements VectorMapJoinLongHashTable
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
protected long[] |
slotPairs |
estimatedKeyCount, 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 |
|---|
VectorMapJoinFastLongHashTable(boolean isFullOuter,
boolean minMaxEnabled,
VectorMapJoinDesc.HashTableKeyType hashTableKeyType,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount,
TableDesc tableDesc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
adaptPutRow(long hashCode,
org.apache.hadoop.io.BytesWritable currentKey,
org.apache.hadoop.io.BytesWritable currentValue) |
void |
add(long hashCode,
long key,
org.apache.hadoop.io.BytesWritable currentValue) |
protected abstract void |
assignSlot(int slot,
long key,
boolean isNewKey,
org.apache.hadoop.io.BytesWritable currentValue) |
protected boolean |
containsKey(long key) |
protected int |
findReadSlot(long key,
long hashCode) |
long |
getEstimatedMemorySize() |
long |
max() |
long |
min() |
boolean |
useMinMax() |
checkResize, createMatchTracker, createNonMatchedIterator, size, spillPartitionId, throwExpandErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsLongKey, createMatchTracker, createNonMatchedIterator, putRow, size, spillPartitionIdpublic VectorMapJoinFastLongHashTable(boolean isFullOuter,
boolean minMaxEnabled,
VectorMapJoinDesc.HashTableKeyType hashTableKeyType,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount,
TableDesc tableDesc)
public boolean useMinMax()
useMinMax in interface VectorMapJoinLongHashTablepublic long min()
min in interface VectorMapJoinLongHashTablepublic long max()
max in interface VectorMapJoinLongHashTablepublic boolean adaptPutRow(long hashCode,
org.apache.hadoop.io.BytesWritable currentKey,
org.apache.hadoop.io.BytesWritable currentValue)
throws HiveException,
IOException
HiveExceptionIOExceptionprotected abstract void assignSlot(int slot,
long key,
boolean isNewKey,
org.apache.hadoop.io.BytesWritable currentValue)
public void add(long hashCode,
long key,
org.apache.hadoop.io.BytesWritable currentValue)
protected boolean containsKey(long key)
protected int findReadSlot(long key,
long hashCode)
public long getEstimatedMemorySize()
getEstimatedMemorySize in interface MemoryEstimategetEstimatedMemorySize in class VectorMapJoinFastHashTableCopyright © 2022 The Apache Software Foundation. All rights reserved.