Interface WritableLongVector
- All Superinterfaces:
ColumnVector,LongColumnVector,WritableColumnVector
- All Known Implementing Classes:
HeapLongVector
Writable
LongColumnVector.-
Method Summary
Modifier and TypeMethodDescriptionvoidfill(long value) Fill the column vector with the provided value.voidsetLong(int rowId, long value) Set long at rowId with the provided value.voidsetLongsFromBinary(int rowId, int count, byte[] src, int srcIndex) Set longs from binary, need use UNSAFE to copy.Methods inherited from interface org.apache.flink.table.data.columnar.vector.ColumnVector
isNullAtMethods inherited from interface org.apache.flink.table.data.columnar.vector.LongColumnVector
getLongMethods inherited from interface org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector
fillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNulls
-
Method Details
-
setLong
void setLong(int rowId, long value) Set long at rowId with the provided value. -
setLongsFromBinary
void setLongsFromBinary(int rowId, int count, byte[] src, int srcIndex) Set longs from binary, need use UNSAFE to copy.- Parameters:
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.
-
fill
void fill(long value) Fill the column vector with the provided value.
-