public final class BytesHashMap extends AbstractBytesHashMap<BinaryRowData>
Map<BinaryRowData, BinaryRowData>
.
BytesHashMap
is influenced by Apache Spark BytesToBytesMap.
BytesMap.LookupInfo<K,V>
keySerializer
BUCKET_SIZE, BUCKET_SIZE_BITS, bucketSegments, ELEMENT_POINT_LENGTH, END_OF_LIST, growthThreshold, INIT_BUCKET_MEMORY_IN_BYTES, lastBucketPosition, LOAD_FACTOR, log2NumBuckets, memoryPool, numBucketsMask, numBucketsMask2, numBucketsPerSegment, numBucketsPerSegmentBits, numBucketsPerSegmentMask, numElements, numSpillFiles, RECORD_EXTRA_LENGTH, recordArea, reservedNumBuffers, reusedKey, reusedValue, segmentSize, spillInBytes, STEP_INCREMENT
Constructor and Description |
---|
BytesHashMap(Object owner,
MemoryManager memoryManager,
long memorySize,
LogicalType[] keyTypes,
LogicalType[] valueTypes) |
append, free, free, getBucketAreaMemorySegments, getEntryIterator, getNumElements, getNumKeys, getNumSpillFiles, getRecordAreaMemorySegments, getSpillInBytes, getUsedMemoryInBytes, reset
calcSecondHashCode, growAndRehash, initBucketSegments, lookup, resetBucketSegments, returnSegments
public BytesHashMap(Object owner, MemoryManager memoryManager, long memorySize, LogicalType[] keyTypes, LogicalType[] valueTypes)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.