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()
InternalMap
size
in interface InternalMap
public InternalArray keyArray()
InternalMap
A key-value pair has the same index in the key array and value array.
keyArray
in interface InternalMap
public InternalArray valueArray()
InternalMap
A key-value pair has the same index in the key array and value array.
valueArray
in interface InternalMap
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.