@Public public interface InternalMap
MapType
or MultisetType
.
Note: All keys and values of this data structure must be internal data structures. All keys
must be of the same type; same for values. See InternalRow
for more information about
internal data structures.
GenericMap
Modifier and Type | Method and Description |
---|---|
InternalArray |
keyArray()
Returns an array view of the keys contained in this map.
|
int |
size()
Returns the number of key-value mappings in this map.
|
InternalArray |
valueArray()
Returns an array view of the values contained in this map.
|
int size()
InternalArray keyArray()
A key-value pair has the same index in the key array and value array.
InternalArray valueArray()
A key-value pair has the same index in the key array and value array.
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.