public class VectorMapJoinFastStringHashSetContainer extends VectorMapJoinFastHashTableContainerBase implements VectorMapJoinBytesHashSet
| Constructor and Description |
|---|
VectorMapJoinFastStringHashSetContainer(boolean isFullOuter,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount,
TableDesc tableDesc,
int numHTs) |
| Modifier and Type | Method and Description |
|---|---|
JoinUtil.JoinResult |
contains(byte[] keyBytes,
int keyStart,
int keyLength,
VectorMapJoinHashSetResult hashSetResult) |
VectorMapJoinHashSetResult |
createHashSetResult() |
MatchTracker |
createMatchTracker() |
VectorMapJoinNonMatchedIterator |
createNonMatchedIterator(MatchTracker matchTracker) |
long |
getEstimatedMemorySize() |
long |
getHashCode(org.apache.hadoop.io.BytesWritable currentKey) |
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 VectorMapJoinFastStringHashSetContainer(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 contains(byte[] keyBytes, int keyStart, int keyLength, VectorMapJoinHashSetResult hashSetResult) throws IOException
contains in interface VectorMapJoinBytesHashSetIOExceptionpublic VectorMapJoinHashSetResult createHashSetResult()
createHashSetResult in interface VectorMapJoinHashSetCopyright © 2024 The Apache Software Foundation. All rights reserved.