public class HeapTimestampVector extends AbstractHeapVector implements WritableTimestampVector
BYTE_ARRAY_OFFSET, dictionaryIds, DOUBLE_ARRAY_OFFSET, FLOAT_ARRAY_OFFSET, INT_ARRAY_OFFSET, isNull, LITTLE_ENDIAN, LONG_ARRAY_OFFSET, UNSAFE
capacity, dictionary, elementsAppended, isAllNull, noNulls
Constructor and Description |
---|
HeapTimestampVector(int len) |
Modifier and Type | Method and Description |
---|---|
void |
fill(Timestamp value)
Fill the column vector with the provided value.
|
Timestamp |
getTimestamp(int i,
int precision) |
void |
reset()
Resets the column to default state.
|
void |
setTimestamp(int i,
Timestamp timestamp)
Set
Timestamp at rowId with the provided value. |
fillWithNulls, getDictionaryIds, isNullAt, reserveDictionaryIds, reserveInternal, setNullAt, setNulls
addElementsAppended, getCapacity, getElementsAppended, hasDictionary, isAllNull, reserve, setAllNull, setDictionary
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addElementsAppended, fillWithNulls, getDictionaryIds, getElementsAppended, hasDictionary, isAllNull, reserve, reserveAdditional, reserveDictionaryIds, setAllNull, setDictionary, setNullAt, setNulls
getCapacity, getChildren, isNullAt
getCapacity
public Timestamp getTimestamp(int i, int precision)
getTimestamp
in interface TimestampColumnVector
public void setTimestamp(int i, Timestamp timestamp)
WritableTimestampVector
Timestamp
at rowId with the provided value.setTimestamp
in interface WritableTimestampVector
public void fill(Timestamp value)
WritableTimestampVector
fill
in interface WritableTimestampVector
public void reset()
AbstractHeapVector
reset
in interface WritableColumnVector
reset
in class AbstractHeapVector
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.