@Public public final class BinaryMap extends BinarySection implements InternalMap
BinaryMap are influenced by Apache Spark UnsafeMapData.
HIGHEST_FIRST_BIT, HIGHEST_SECOND_TO_EIGHTH_BIT, MAX_FIX_PART_DATA_SIZE, offset, segments, sizeInBytes| 构造器和说明 |
|---|
BinaryMap() |
| 限定符和类型 | 方法和说明 |
|---|---|
BinaryMap |
copy() |
BinaryMap |
copy(BinaryMap reuse) |
int |
hashCode() |
BinaryArray |
keyArray()
Returns an array view of the keys contained in this map.
|
void |
pointTo(MemorySegment[] segments,
int offset,
int sizeInBytes) |
int |
size()
Returns the number of key-value mappings in this map.
|
Map<?,?> |
toJavaMap(DataType keyType,
DataType valueType) |
BinaryArray |
valueArray()
Returns an array view of the values contained in this map.
|
static BinaryMap |
valueOf(BinaryArray key,
BinaryArray value) |
equals, getOffset, getSegments, getSizeInBytes, pointTo, toBytespublic int size()
InternalMapsize 在接口中 InternalMappublic void pointTo(MemorySegment[] segments, int offset, int sizeInBytes)
pointTo 在类中 BinarySectionpublic BinaryArray keyArray()
InternalMapA key-value pair has the same index in the key array and value array.
keyArray 在接口中 InternalMappublic BinaryArray valueArray()
InternalMapA key-value pair has the same index in the key array and value array.
valueArray 在接口中 InternalMappublic BinaryMap copy()
public int hashCode()
hashCode 在类中 BinarySectionpublic static BinaryMap valueOf(BinaryArray key, BinaryArray value)
Copyright © 2023 The Apache Software Foundation. All rights reserved.