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()AColumnVectorcontaining the keys.intgetSize()The number of elements in the mapAColumnVectorcontaining the values.
-
Method Details
-
getSize
int getSize()The number of elements in the map -
getKeys
ColumnVector getKeys()AColumnVectorcontaining 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()AColumnVectorcontaining the values. There are exactlygetSize()values in the vector, and maps one-to-one to the keys ingetKeys()
-