public class VectorMapJoinFastStringHashMapContainer extends VectorMapJoinFastHashTableContainerBase implements VectorMapJoinBytesHashMap
| Constructor and Description |
|---|
VectorMapJoinFastStringHashMapContainer(boolean isFullOuter,
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(byte[] keyBytes,
int keyStart,
int keyLength,
VectorMapJoinHashMapResult hashMapResult) |
JoinUtil.JoinResult |
lookup(byte[] keyBytes,
int keyStart,
int keyLength,
VectorMapJoinHashMapResult hashMapResult,
MatchTracker matchTracker) |
void |
putRow(long hashCode,
org.apache.hadoop.io.BytesWritable currentKey,
org.apache.hadoop.io.BytesWritable currentValue) |
int |
size()
Get hash table size
|
int |
spillPartitionId() |
containsLongKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsLongKeypublic VectorMapJoinFastStringHashMapContainer(boolean isFullOuter,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount,
TableDesc tableDesc,
int numHTs)
public 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 long getHashCode(org.apache.hadoop.io.BytesWritable currentKey)
throws HiveException,
IOException
getHashCode in class VectorMapJoinFastHashTableContainerBaseHiveExceptionIOExceptionpublic 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 VectorMapJoinHashTablepublic int spillPartitionId()
spillPartitionId in interface VectorMapJoinHashTablepublic JoinUtil.JoinResult lookup(byte[] keyBytes, int keyStart, int keyLength, VectorMapJoinHashMapResult hashMapResult) throws IOException
lookup in interface VectorMapJoinBytesHashMapIOExceptionpublic JoinUtil.JoinResult lookup(byte[] keyBytes, int keyStart, int keyLength, VectorMapJoinHashMapResult hashMapResult, MatchTracker matchTracker) throws IOException
lookup in interface VectorMapJoinBytesHashMapIOExceptionpublic VectorMapJoinHashMapResult createHashMapResult()
createHashMapResult in interface VectorMapJoinHashMapCopyright © 2024 The Apache Software Foundation. All rights reserved.