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:
- Serialized Form
-
-
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, UNSAFE
-
Fields inherited from class org.apache.flink.table.data.columnar.vector.writable.AbstractWritableVector
dictionary, noNulls
-
-
Constructor Summary
Constructors Constructor Description HeapArrayVector(int len)HeapArrayVector(int len, ColumnVector vector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayDatagetArray(int i)ColumnVectorgetChild()long[]getLengths()long[]getOffsets()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, setNulls
-
Methods inherited from class org.apache.flink.table.data.columnar.vector.writable.AbstractWritableVector
hasDictionary, setDictionary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.table.data.columnar.vector.ColumnVector
isNullAt
-
Methods inherited from interface org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector
fillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNulls
-
-
-
-
Constructor Detail
-
HeapArrayVector
public HeapArrayVector(int len)
-
HeapArrayVector
public HeapArrayVector(int len, ColumnVector vector)
-
-
Method Detail
-
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
public ColumnVector getChild()
-
setChild
public void setChild(ColumnVector child)
-
getArray
public ArrayData getArray(int i)
- Specified by:
getArrayin interfaceArrayColumnVector
-
-