public interface WritableLongVector extends WritableColumnVector, LongColumnVector
LongColumnVector
.Modifier and Type | Method and Description |
---|---|
void |
fill(long value)
Fill the column vector with the provided value.
|
void |
setLong(int rowId,
long value)
Set long at rowId with the provided value.
|
void |
setLongsFromBinary(int rowId,
int count,
byte[] src,
int srcIndex)
Set longs from binary, need use UNSAFE to copy.
|
fillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNulls
getLong
isNullAt
void setLong(int rowId, long value)
void setLongsFromBinary(int rowId, int count, byte[] src, int srcIndex)
rowId
- set start rowId.count
- count for long, so the bytes size is count * 8.src
- source binary.srcIndex
- source binary index, it is the index for byte index.void fill(long value)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.