public final class ColumnarMap extends Object implements InternalMap, Serializable
| Constructor and Description |
|---|
ColumnarMap(ColumnVector keyColumnVector,
ColumnVector valueColumnVector,
int offset,
int numElements) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
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.
|
String |
toString() |
InternalArray |
valueArray()
Returns an array view of the values contained in this map.
|
public ColumnarMap(ColumnVector keyColumnVector, ColumnVector valueColumnVector, int offset, int numElements)
public int size()
InternalMapsize in interface InternalMappublic InternalArray keyArray()
InternalMapA key-value pair has the same index in the key array and value array.
keyArray in interface InternalMappublic InternalArray valueArray()
InternalMapA key-value pair has the same index in the key array and value array.
valueArray in interface InternalMapCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.