Package io.delta.kernel.data
Interface MapValue
public interface MapValue
Abstraction to represent a single map value in a
ColumnVector
.-
Method Summary
Modifier and TypeMethodDescriptiongetKeys()
AColumnVector
containing the keys.int
getSize()
The number of elements in the mapAColumnVector
containing the values.
-
Method Details
-
getSize
int getSize()The number of elements in the map -
getKeys
ColumnVector getKeys()AColumnVector
containing the keys. There are exactlygetSize()
keys in the vector, and each key maps one-to-one to the value at the same index ingetValues()
. -
getValues
ColumnVector getValues()AColumnVector
containing the values. There are exactlygetSize()
values in the vector, and maps one-to-one to the keys ingetKeys()
-