Class HeapTimestampVector
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.HeapTimestampVector
- All Implemented Interfaces:
Serializable,ColumnVector,TimestampColumnVector,WritableColumnVector,WritableTimestampVector
@Internal
public class HeapTimestampVector
extends AbstractHeapVector
implements WritableTimestampVector
This class represents a nullable byte 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 TypeMethodDescriptionvoidfill(TimestampData value) Fill the column vector with the provided value.getTimestamp(int i, int precision) voidsetTimestamp(int i, TimestampData timestamp) SetTimestampDataat rowId with the provided value.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
-
HeapTimestampVector
public HeapTimestampVector(int len)
-
-
Method Details
-
getTimestamp
- Specified by:
getTimestampin interfaceTimestampColumnVector
-
setTimestamp
Description copied from interface:WritableTimestampVectorSetTimestampDataat rowId with the provided value.- Specified by:
setTimestampin interfaceWritableTimestampVector
-
fill
Description copied from interface:WritableTimestampVectorFill the column vector with the provided value.- Specified by:
fillin interfaceWritableTimestampVector
-