public class VectorMapJoinFastStringHashSet extends VectorMapJoinFastBytesHashSet
slots, testKeyBytesWritable, unsafeReadPos, writeBuffers
estimatedKeyCount, 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 |
---|
VectorMapJoinFastStringHashSet(boolean isFullOuter,
int initialCapacity,
float loadFactor,
int writeBuffersSize,
long estimatedKeyCount,
TableDesc tableDesc) |
Modifier and Type | Method and Description |
---|---|
long |
getEstimatedMemorySize()
Returns estimated memory size based
JavaDataModel |
void |
putRow(long hashCode,
org.apache.hadoop.io.BytesWritable currentKey,
org.apache.hadoop.io.BytesWritable currentValue) |
add, contains, createHashSetResult, doHashSetContains
containsLongKey, expandAndRehash
checkResize, createMatchTracker, createNonMatchedIterator, size, spillPartitionId, throwExpandError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
containsLongKey, createMatchTracker, createNonMatchedIterator, size, spillPartitionId
public VectorMapJoinFastStringHashSet(boolean isFullOuter, int initialCapacity, float loadFactor, int writeBuffersSize, long estimatedKeyCount, TableDesc tableDesc)
public void putRow(long hashCode, org.apache.hadoop.io.BytesWritable currentKey, org.apache.hadoop.io.BytesWritable currentValue) throws HiveException, IOException
putRow
in interface VectorMapJoinHashTable
putRow
in class VectorMapJoinFastBytesHashTable
hashCode
- current HashCode to avoid re-computationcurrentKey
- The current Key in bytescurrentValue
- The current Value in bytesHiveException
IOException
public long getEstimatedMemorySize()
MemoryEstimate
JavaDataModel
getEstimatedMemorySize
in interface MemoryEstimate
getEstimatedMemorySize
in class VectorMapJoinFastBytesHashSet
Copyright © 2022 The Apache Software Foundation. All rights reserved.