Class ColumnarMapData
- java.lang.Object
-
- org.apache.flink.table.data.columnar.ColumnarMapData
-
-
Constructor Summary
Constructors Constructor Description ColumnarMapData(ColumnVector keyColumnVector, ColumnVector valueColumnVector, int offset, int numElements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()ArrayDatakeyArray()Returns an array view of the keys contained in this map.intsize()Returns the number of key-value mappings in this map.ArrayDatavalueArray()Returns an array view of the values contained in this map.
-
-
-
Constructor Detail
-
ColumnarMapData
public ColumnarMapData(ColumnVector keyColumnVector, ColumnVector valueColumnVector, int offset, int numElements)
-
-
Method Detail
-
size
public int size()
Description copied from interface:MapDataReturns the number of key-value mappings in this map.
-
keyArray
public ArrayData keyArray()
Description copied from interface:MapDataReturns an array view of the keys contained in this map.A key-value pair has the same index in the key array and value array.
-
valueArray
public ArrayData valueArray()
Description copied from interface:MapDataReturns an array view of the values contained in this map.A key-value pair has the same index in the key array and value array.
- Specified by:
valueArrayin interfaceMapData
-
-