public abstract class VectorMapJoinFastBytesHashMap extends VectorMapJoinFastBytesHashTable implements VectorMapJoinBytesHashMap
| Modifier and Type | Class and Description |
|---|---|
static class |
VectorMapJoinFastBytesHashMap.NonMatchedBytesHashMapIterator |
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.io.BytesWritable |
testValueBytesWritable |
slots, testKeyBytesWritable, unsafeReadPos, writeBuffersestimatedKeyCount, 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 |
|---|
VectorMapJoinFastBytesHashMap(boolean isFullOuter,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(byte[] keyBytes,
int keyStart,
int keyLength,
org.apache.hadoop.io.BytesWritable currentValue,
long hashCode) |
void |
addFullOuterNullKeyValue(org.apache.hadoop.io.BytesWritable currentValue) |
VectorMapJoinHashMapResult |
createHashMapResult() |
VectorMapJoinNonMatchedIterator |
createNonMatchedIterator(MatchTracker matchTracker) |
protected int |
doHashMapMatch(byte[] keyBytes,
int keyStart,
int keyLength,
long hashCode,
VectorMapJoinFastBytesHashMapStore.HashMapResult fastHashMapResult) |
long |
getEstimatedMemorySize() |
JoinUtil.JoinResult |
lookup(byte[] keyBytes,
int keyStart,
int keyLength,
VectorMapJoinHashMapResult hashMapResult) |
JoinUtil.JoinResult |
lookup(byte[] keyBytes,
int keyStart,
int keyLength,
VectorMapJoinHashMapResult hashMapResult,
MatchTracker matchTracker) |
containsLongKey, expandAndRehash, putRowcheckResize, createMatchTracker, size, spillPartitionId, throwExpandErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsLongKey, createMatchTracker, putRow, size, spillPartitionIdprotected org.apache.hadoop.io.BytesWritable testValueBytesWritable
public VectorMapJoinFastBytesHashMap(boolean isFullOuter,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount)
public VectorMapJoinHashMapResult createHashMapResult()
createHashMapResult in interface VectorMapJoinHashMappublic VectorMapJoinNonMatchedIterator createNonMatchedIterator(MatchTracker matchTracker)
createNonMatchedIterator in interface VectorMapJoinHashTablecreateNonMatchedIterator in class VectorMapJoinFastHashTablepublic void add(byte[] keyBytes,
int keyStart,
int keyLength,
org.apache.hadoop.io.BytesWritable currentValue,
long hashCode)
add in class VectorMapJoinFastBytesHashTablepublic JoinUtil.JoinResult lookup(byte[] keyBytes, int keyStart, int keyLength, VectorMapJoinHashMapResult hashMapResult)
lookup in interface VectorMapJoinBytesHashMappublic JoinUtil.JoinResult lookup(byte[] keyBytes, int keyStart, int keyLength, VectorMapJoinHashMapResult hashMapResult, MatchTracker matchTracker)
lookup in interface VectorMapJoinBytesHashMapprotected final int doHashMapMatch(byte[] keyBytes,
int keyStart,
int keyLength,
long hashCode,
VectorMapJoinFastBytesHashMapStore.HashMapResult fastHashMapResult)
public void addFullOuterNullKeyValue(org.apache.hadoop.io.BytesWritable currentValue)
public long getEstimatedMemorySize()
getEstimatedMemorySize in interface MemoryEstimategetEstimatedMemorySize in class VectorMapJoinFastBytesHashTableCopyright © 2022 The Apache Software Foundation. All rights reserved.