Class HeapMapVector
java.lang.Object
org.apache.flink.table.data.columnar.vector.writable.AbstractWritableVector
org.apache.flink.table.data.columnar.vector.heap.AbstractHeapVector
org.apache.flink.table.data.columnar.vector.heap.HeapMapVector
- All Implemented Interfaces:
Serializable,ColumnVector,MapColumnVector,WritableColumnVector
@Internal
public class HeapMapVector
extends AbstractHeapVector
implements WritableColumnVector, MapColumnVector
This class represents a nullable heap map column vector.
- See Also:
-
Field Summary
Fields inherited from class org.apache.flink.table.data.columnar.vector.heap.AbstractHeapVector
BYTE_ARRAY_OFFSET, dictionaryIds, DOUBLE_ARRAY_OFFSET, FLOAT_ARRAY_OFFSET, INT_ARRAY_OFFSET, isNull, LITTLE_ENDIAN, LONG_ARRAY_OFFSET, UNSAFEFields inherited from class org.apache.flink.table.data.columnar.vector.writable.AbstractWritableVector
dictionary, noNulls -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMap(int i) intgetSize()voidsetKeys(ColumnVector keys) voidsetLengths(long[] lengths) voidsetOffsets(long[] offsets) voidsetSize(int size) voidsetValues(ColumnVector values) Methods inherited from class org.apache.flink.table.data.columnar.vector.heap.AbstractHeapVector
fillWithNulls, getDictionaryIds, getLen, isNullAt, reserveDictionaryIds, reset, setNullAt, setNullsMethods inherited from class org.apache.flink.table.data.columnar.vector.writable.AbstractWritableVector
hasDictionary, setDictionaryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.data.columnar.vector.ColumnVector
isNullAtMethods inherited from interface org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector
fillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNulls
-
Constructor Details
-
HeapMapVector
-
-
Method Details
-
setOffsets
public void setOffsets(long[] offsets) -
setLengths
public void setLengths(long[] lengths) -
getSize
public int getSize() -
setSize
public void setSize(int size) -
setKeys
-
setValues
-
getMap
- Specified by:
getMapin interfaceMapColumnVector
-
getKeyColumnVector
-
getValueColumnVector
-