public class VectorMapJoinFastStringHashMap extends VectorMapJoinFastBytesHashMap
VectorMapJoinFastBytesHashMap.NonMatchedBytesHashMapIteratortestValueBytesWritableslots, testKeyBytesWritable, unsafeReadPos, writeBuffersestimatedKeyCount, 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() |
void |
putRow(long hashCode,
org.apache.hadoop.io.BytesWritable currentKey,
org.apache.hadoop.io.BytesWritable currentValue) |
add, addFullOuterNullKeyValue, createHashMapResult, createNonMatchedIterator, doHashMapMatch, lookup, lookupcontainsLongKey, expandAndRehashcheckResize, createMatchTracker, size, spillPartitionId, throwExpandErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsLongKey, createMatchTracker, size, spillPartitionIdpublic 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 VectorMapJoinHashTableputRow in class VectorMapJoinFastBytesHashTablehashCode - current HashCode to avoid re-computationcurrentKey - The current Key in bytescurrentValue - The current Value in bytesHiveExceptionIOExceptionpublic long getEstimatedMemorySize()
getEstimatedMemorySize in interface MemoryEstimategetEstimatedMemorySize in class VectorMapJoinFastBytesHashMapCopyright © 2022 The Apache Software Foundation. All rights reserved.