public abstract class VectorMapJoinFastHashTable extends Object implements VectorMapJoinHashTable
| Modifier and Type | Field and Description |
|---|---|
protected long |
estimatedKeyCount |
static int |
FIRST_SIZE_UP |
static int |
HIGHEST_INT_POWER_OF_2 |
protected boolean |
isFullOuter |
protected int |
keysAssigned |
protected int |
largestNumberOfSteps |
protected float |
loadFactor |
static org.slf4j.Logger |
LOG |
protected int |
logicalHashBucketCount |
protected int |
logicalHashBucketMask |
protected int |
metricExpands |
protected int |
metricPutConflict |
static int |
ONE_QUARTER_LIMIT |
static int |
ONE_SIXTH_LIMIT |
protected int |
resizeThreshold |
protected int |
writeBuffersSize |
| Constructor and Description |
|---|
VectorMapJoinFastHashTable(boolean isFullOuter,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkResize() |
MatchTracker |
createMatchTracker() |
VectorMapJoinNonMatchedIterator |
createNonMatchedIterator(MatchTracker matchTracker) |
long |
getEstimatedMemorySize() |
int |
size()
Get hash table size
|
int |
spillPartitionId() |
void |
throwExpandError(int limit,
String dataTypeName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsLongKey, putRowpublic static final org.slf4j.Logger LOG
public static final int FIRST_SIZE_UP
protected final boolean isFullOuter
protected int logicalHashBucketCount
protected int logicalHashBucketMask
protected final float loadFactor
protected final int writeBuffersSize
protected long estimatedKeyCount
protected int metricPutConflict
protected int largestNumberOfSteps
protected int keysAssigned
protected int resizeThreshold
protected int metricExpands
public static final int HIGHEST_INT_POWER_OF_2
public static final int ONE_QUARTER_LIMIT
public static final int ONE_SIXTH_LIMIT
public VectorMapJoinFastHashTable(boolean isFullOuter,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount)
public void throwExpandError(int limit,
String dataTypeName)
public int size()
VectorMapJoinHashTablesize in interface VectorMapJoinHashTableprotected final boolean checkResize()
public long getEstimatedMemorySize()
getEstimatedMemorySize in interface MemoryEstimatepublic MatchTracker createMatchTracker()
createMatchTracker in interface VectorMapJoinHashTablepublic VectorMapJoinNonMatchedIterator createNonMatchedIterator(MatchTracker matchTracker)
createNonMatchedIterator in interface VectorMapJoinHashTablepublic int spillPartitionId()
spillPartitionId in interface VectorMapJoinHashTableCopyright © 2024 The Apache Software Foundation. All rights reserved.