Class HeapRowVector
- 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.HeapRowVector
-
- All Implemented Interfaces:
Serializable
,ColumnVector
,RowColumnVector
,WritableColumnVector
@Internal public class HeapRowVector extends AbstractHeapVector implements WritableColumnVector, RowColumnVector
This class represents a nullable heap row 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 HeapRowVector(int len, WritableColumnVector... fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WritableColumnVector[]
getFields()
ColumnarRowData
getRow(int i)
void
reset()
Resets the column to default state. - fills the isNull array with false. - sets noNulls to true.void
setFields(WritableColumnVector[] fields)
-
Methods inherited from class org.apache.flink.table.data.columnar.vector.heap.AbstractHeapVector
fillWithNulls, getDictionaryIds, getLen, isNullAt, reserveDictionaryIds, 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, setDictionary, setNullAt, setNulls
-
-
-
-
Constructor Detail
-
HeapRowVector
public HeapRowVector(int len, WritableColumnVector... fields)
-
-
Method Detail
-
getFields
public WritableColumnVector[] getFields()
-
setFields
public void setFields(WritableColumnVector[] fields)
-
getRow
public ColumnarRowData getRow(int i)
- Specified by:
getRow
in interfaceRowColumnVector
-
reset
public void reset()
Description copied from class:AbstractHeapVector
Resets the column to default state. - fills the isNull array with false. - sets noNulls to true.- Specified by:
reset
in interfaceWritableColumnVector
- Overrides:
reset
in classAbstractHeapVector
-
-