Class BytesHashMap
java.lang.Object
org.apache.flink.table.runtime.util.collections.binary.BytesMap<K,org.apache.flink.table.data.binary.BinaryRowData>
org.apache.flink.table.runtime.util.collections.binary.AbstractBytesHashMap<org.apache.flink.table.data.binary.BinaryRowData>
org.apache.flink.table.runtime.util.collections.binary.BytesHashMap
public final class BytesHashMap
extends AbstractBytesHashMap<org.apache.flink.table.data.binary.BinaryRowData>
A binary map in the structure like
Map<BinaryRowData, BinaryRowData>.
BytesHashMap is influenced by Apache Spark BytesToBytesMap.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.table.runtime.util.collections.binary.BytesMap
BytesMap.LookupInfo<K,V> -
Field Summary
Fields inherited from class org.apache.flink.table.runtime.util.collections.binary.AbstractBytesHashMap
keySerializerFields inherited from class org.apache.flink.table.runtime.util.collections.binary.BytesMap
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 Summary
ConstructorsConstructorDescriptionBytesHashMap(Object owner, org.apache.flink.runtime.memory.MemoryManager memoryManager, long memorySize, org.apache.flink.table.types.logical.LogicalType[] keyTypes, org.apache.flink.table.types.logical.LogicalType[] valueTypes) -
Method Summary
Methods inherited from class org.apache.flink.table.runtime.util.collections.binary.AbstractBytesHashMap
append, free, free, getBucketAreaMemorySegments, getEntryIterator, getNumElements, getNumKeys, getNumSpillFiles, getRecordAreaMemorySegments, getSpillInBytes, getUsedMemoryInBytes, resetMethods inherited from class org.apache.flink.table.runtime.util.collections.binary.BytesMap
calcSecondHashCode, growAndRehash, initBucketSegments, lookup, resetBucketSegments, returnSegments
-
Constructor Details
-
BytesHashMap
public BytesHashMap(Object owner, org.apache.flink.runtime.memory.MemoryManager memoryManager, long memorySize, org.apache.flink.table.types.logical.LogicalType[] keyTypes, org.apache.flink.table.types.logical.LogicalType[] valueTypes)
-