Class HeapShortVector
- 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.HeapShortVector
-
- All Implemented Interfaces:
Serializable
,ColumnVector
,ShortColumnVector
,WritableColumnVector
,WritableShortVector
@Internal public class HeapShortVector extends AbstractHeapVector implements WritableShortVector
This class represents a nullable short column vector.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description short[]
vector
-
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 HeapShortVector(int len)
Don't use this except for testing purposes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fill(short value)
Fill the column vector with the provided value.short
getShort(int i)
void
setShort(int i, short value)
Set short at 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, 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
-
-
-
-
Method Detail
-
getShort
public short getShort(int i)
- Specified by:
getShort
in interfaceShortColumnVector
-
setShort
public void setShort(int i, short value)
Description copied from interface:WritableShortVector
Set short at rowId with the provided value.- Specified by:
setShort
in interfaceWritableShortVector
-
fill
public void fill(short value)
Description copied from interface:WritableShortVector
Fill the column vector with the provided value.- Specified by:
fill
in interfaceWritableShortVector
-
-