public class VectorMapJoinFastStringHashMap extends VectorMapJoinFastBytesHashMap
VectorMapJoinFastBytesHashMap.NonMatchedBytesHashMapIterator
testValueBytesWritable
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 |
---|
VectorMapJoinFastStringHashMap(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, addFullOuterNullKeyValue, createHashMapResult, createNonMatchedIterator, doHashMapMatch, lookup, lookup
containsLongKey, expandAndRehash
checkResize, createMatchTracker, size, spillPartitionId, throwExpandError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
containsLongKey, createMatchTracker, size, spillPartitionId
public VectorMapJoinFastStringHashMap(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 VectorMapJoinFastBytesHashMap
Copyright © 2022 The Apache Software Foundation. All rights reserved.