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