Interface WritableLongVector
-
- All Superinterfaces:
ColumnVector,LongColumnVector,WritableColumnVector
- All Known Implementing Classes:
HeapLongVector
@Internal public interface WritableLongVector extends WritableColumnVector, LongColumnVector
WritableLongColumnVector.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfill(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
isNullAt
-
Methods inherited from interface org.apache.flink.table.data.columnar.vector.LongColumnVector
getLong
-
Methods inherited from interface org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector
fillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNulls
-
-
-
-
Method Detail
-
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.
-
-