Interface WritableFloatVector
- All Superinterfaces:
ColumnVector,FloatColumnVector,WritableColumnVector
- All Known Implementing Classes:
HeapFloatVector
Writable
FloatColumnVector.-
Method Summary
Modifier and TypeMethodDescriptionvoidfill(float value) Fill the column vector with the provided value.voidsetFloat(int rowId, float value) Set float at rowId with the provided value.voidsetFloatsFromBinary(int rowId, int count, byte[] src, int srcIndex) Set floats 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.FloatColumnVector
getFloatMethods inherited from interface org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector
fillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNulls
-
Method Details
-
setFloat
void setFloat(int rowId, float value) Set float at rowId with the provided value. -
setFloatsFromBinary
void setFloatsFromBinary(int rowId, int count, byte[] src, int srcIndex) Set floats from binary, need use UNSAFE to copy.- Parameters:
rowId- set start rowId.count- count for float, so the bytes size is count * 4.src- source binary.srcIndex- source binary index, it is the index for byte index.
-
fill
void fill(float value) Fill the column vector with the provided value.
-