Interface WritableDoubleVector
- All Superinterfaces:
ColumnVector,DoubleColumnVector,WritableColumnVector
- All Known Implementing Classes:
HeapDoubleVector
Writable
DoubleColumnVector.-
Method Summary
Modifier and TypeMethodDescriptionvoidfill(double value) Fill the column vector with the provided value.voidsetDouble(int rowId, double value) Set double at rowId with the provided value.voidsetDoublesFromBinary(int rowId, int count, byte[] src, int srcIndex) Set doubles 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.DoubleColumnVector
getDoubleMethods inherited from interface org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector
fillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNulls
-
Method Details
-
setDouble
void setDouble(int rowId, double value) Set double at rowId with the provided value. -
setDoublesFromBinary
void setDoublesFromBinary(int rowId, int count, byte[] src, int srcIndex) Set doubles from binary, need use UNSAFE to copy.- Parameters:
rowId- set start rowId.count- count for double, so the bytes size is count * 8.src- source binary.srcIndex- source binary index, it is the index for byte index.
-
fill
void fill(double value) Fill the column vector with the provided value.
-