public final class ColumnarMap
extends org.apache.spark.sql.catalyst.util.MapData
ColumnVector
.Constructor and Description |
---|
ColumnarMap(ColumnVector keys,
ColumnVector values,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.sql.catalyst.util.MapData |
copy() |
ColumnarArray |
keyArray() |
int |
numElements() |
ColumnarArray |
valueArray() |
public ColumnarMap(ColumnVector keys, ColumnVector values, int offset, int length)
public int numElements()
numElements
in class org.apache.spark.sql.catalyst.util.MapData
public ColumnarArray keyArray()
keyArray
in class org.apache.spark.sql.catalyst.util.MapData
public ColumnarArray valueArray()
valueArray
in class org.apache.spark.sql.catalyst.util.MapData
public org.apache.spark.sql.catalyst.util.MapData copy()
copy
in class org.apache.spark.sql.catalyst.util.MapData