public class HeapByteVector extends AbstractHeapVector implements WritableByteVector
| Modifier and Type | Field and Description |
|---|---|
byte[] |
vector |
BYTE_ARRAY_OFFSET, dictionaryIds, DOUBLE_ARRAY_OFFSET, FLOAT_ARRAY_OFFSET, INT_ARRAY_OFFSET, isNull, LITTLE_ENDIAN, LONG_ARRAY_OFFSET, UNSAFEdictionary, noNulls| Constructor and Description |
|---|
HeapByteVector(int len)
Don't use this except for testing purposes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fill(byte value)
Fill the column vector with the provided value.
|
byte |
getByte(int i) |
void |
setByte(int i,
byte value)
Set byte at rowId with the provided value.
|
fillWithNulls, getDictionaryIds, getLen, isNullAt, reserveDictionaryIds, reset, setNullAt, setNullshasDictionary, setDictionaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNullsisNullAtpublic HeapByteVector(int len)
len - the number of rowspublic byte getByte(int i)
getByte in interface ByteColumnVectorpublic void setByte(int i,
byte value)
WritableByteVectorsetByte in interface WritableByteVectorpublic void fill(byte value)
WritableByteVectorfill in interface WritableByteVectorCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.