Class ColumnarMapData
java.lang.Object
org.apache.flink.table.data.columnar.ColumnarMapData
- All Implemented Interfaces:
MapData
Columnar map to support access to vector column data.
-
Constructor Summary
ConstructorsConstructorDescriptionColumnarMapData(ColumnVector keyColumnVector, ColumnVector valueColumnVector, int offset, int numElements) -
Method Summary
-
Constructor Details
-
ColumnarMapData
public ColumnarMapData(ColumnVector keyColumnVector, ColumnVector valueColumnVector, int offset, int numElements)
-
-
Method Details
-
size
public int size()Description copied from interface:MapDataReturns the number of key-value mappings in this map. -
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
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
-
equals
-
hashCode
public int hashCode()
-