Constructor and Description |
---|
ColumnarMapData(ColumnVector keyColumnVector,
ColumnVector valueColumnVector,
int offset,
int numElements) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
ArrayData |
keyArray()
Returns an array view of the keys contained in this map.
|
int |
size()
Returns the number of key-value mappings in this map.
|
ArrayData |
valueArray()
Returns an array view of the values contained in this map.
|
public ColumnarMapData(ColumnVector keyColumnVector, ColumnVector valueColumnVector, int offset, int numElements)
public int size()
MapData
public ArrayData keyArray()
MapData
A key-value pair has the same index in the key array and value array.
public ArrayData valueArray()
MapData
A key-value pair has the same index in the key array and value array.
valueArray
in interface MapData
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.