Class HeapByteVector
- 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.HeapByteVector
-
- All Implemented Interfaces:
Serializable,ByteColumnVector,ColumnVector,WritableByteVector,WritableColumnVector
@Internal public class HeapByteVector extends AbstractHeapVector implements WritableByteVector
This class represents a nullable byte column vector.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description byte[]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 HeapByteVector(int len)Don't use this except for testing purposes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfill(byte value)Fill the column vector with the provided value.bytegetByte(int i)voidsetByte(int i, byte value)Set byte 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
-
getByte
public byte getByte(int i)
- Specified by:
getBytein interfaceByteColumnVector
-
setByte
public void setByte(int i, byte value)Description copied from interface:WritableByteVectorSet byte at rowId with the provided value.- Specified by:
setBytein interfaceWritableByteVector
-
fill
public void fill(byte value)
Description copied from interface:WritableByteVectorFill the column vector with the provided value.- Specified by:
fillin interfaceWritableByteVector
-
-