Class HeapArrayVector
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.HeapArrayVector
- All Implemented Interfaces:
Serializable,ArrayColumnVector,ColumnVector,WritableColumnVector
@Internal
public class HeapArrayVector
extends AbstractHeapVector
implements WritableColumnVector, ArrayColumnVector
This class represents a nullable heap array 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 TypeMethodDescriptiongetArray(int i) getChild()long[]long[]intgetSize()voidsetChild(ColumnVector child) voidsetLengths(long[] lengths) voidsetOffsets(long[] offsets) voidsetSize(int size) 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
-
HeapArrayVector
public HeapArrayVector(int len) -
HeapArrayVector
-
-
Method Details
-
getOffsets
public long[] getOffsets() -
setOffsets
public void setOffsets(long[] offsets) -
getLengths
public long[] getLengths() -
setLengths
public void setLengths(long[] lengths) -
getSize
public int getSize() -
setSize
public void setSize(int size) -
getChild
-
setChild
-
getArray
- Specified by:
getArrayin interfaceArrayColumnVector
-