public class VectorMapJoinFastLongHashMapContainer extends VectorMapJoinFastHashTableContainerBase implements VectorMapJoinLongHashMap, MemoryEstimate
| Modifier and Type | Class and Description |
|---|---|
static class |
VectorMapJoinFastLongHashMapContainer.NonMatchedLongHashMapIterator |
| Constructor and Description |
|---|
VectorMapJoinFastLongHashMapContainer(boolean isFullOuter,
boolean minMaxEnabled,
VectorMapJoinDesc.HashTableKeyType hashTableKeyType,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount,
TableDesc tableDesc,
int numHTs) |
| Modifier and Type | Method and Description |
|---|---|
VectorMapJoinHashMapResult |
createHashMapResult() |
MatchTracker |
createMatchTracker() |
VectorMapJoinNonMatchedIterator |
createNonMatchedIterator(MatchTracker matchTracker) |
long |
getEstimatedMemorySize() |
long |
getHashCode(org.apache.hadoop.io.BytesWritable currentKey) |
JoinUtil.JoinResult |
lookup(long key,
VectorMapJoinHashMapResult hashMapResult) |
JoinUtil.JoinResult |
lookup(long key,
VectorMapJoinHashMapResult hashMapResult,
MatchTracker matchTracker) |
long |
max() |
long |
min() |
void |
putRow(long hashCode,
org.apache.hadoop.io.BytesWritable currentKey,
org.apache.hadoop.io.BytesWritable currentValue) |
int |
size()
Get hash table size
|
int |
spillPartitionId() |
boolean |
useMinMax() |
containsLongKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsLongKeypublic VectorMapJoinFastLongHashMapContainer(boolean isFullOuter,
boolean minMaxEnabled,
VectorMapJoinDesc.HashTableKeyType hashTableKeyType,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount,
TableDesc tableDesc,
int numHTs)
public boolean useMinMax()
useMinMax in interface VectorMapJoinLongHashTablepublic long min()
min in interface VectorMapJoinLongHashTablepublic long max()
max in interface VectorMapJoinLongHashTablepublic VectorMapJoinHashMapResult createHashMapResult()
createHashMapResult in interface VectorMapJoinHashMappublic int spillPartitionId()
spillPartitionId in interface VectorMapJoinHashTablepublic long getHashCode(org.apache.hadoop.io.BytesWritable currentKey)
throws HiveException,
IOException
getHashCode in class VectorMapJoinFastHashTableContainerBaseHiveExceptionIOExceptionpublic void putRow(long hashCode,
org.apache.hadoop.io.BytesWritable currentKey,
org.apache.hadoop.io.BytesWritable currentValue)
throws HiveException,
IOException
putRow in interface VectorMapJoinHashTableputRow in class VectorMapJoinFastHashTableContainerBasehashCode - current HashCode to avoid re-computationcurrentKey - The current Key in bytescurrentValue - The current Value in bytesHiveExceptionIOExceptionpublic JoinUtil.JoinResult lookup(long key, VectorMapJoinHashMapResult hashMapResult)
lookup in interface VectorMapJoinLongHashMappublic JoinUtil.JoinResult lookup(long key, VectorMapJoinHashMapResult hashMapResult, MatchTracker matchTracker)
lookup in interface VectorMapJoinLongHashMappublic long getEstimatedMemorySize()
getEstimatedMemorySize in interface MemoryEstimategetEstimatedMemorySize in class VectorMapJoinFastHashTableContainerBasepublic int size()
VectorMapJoinHashTablesize in interface VectorMapJoinHashTablesize in class VectorMapJoinFastHashTableContainerBasepublic MatchTracker createMatchTracker()
createMatchTracker in interface VectorMapJoinHashTablepublic VectorMapJoinNonMatchedIterator createNonMatchedIterator(MatchTracker matchTracker)
createNonMatchedIterator in interface VectorMapJoinHashTableCopyright © 2022 The Apache Software Foundation. All rights reserved.