Interface WritableFloatVector
-
- All Superinterfaces:
ColumnVector
,FloatColumnVector
,WritableColumnVector
- All Known Implementing Classes:
HeapFloatVector
@Internal public interface WritableFloatVector extends WritableColumnVector, FloatColumnVector
WritableFloatColumnVector
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
fill(float value)
Fill the column vector with the provided value.void
setFloat(int rowId, float value)
Set float at rowId with the provided value.void
setFloatsFromBinary(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
isNullAt
-
Methods inherited from interface org.apache.flink.table.data.columnar.vector.FloatColumnVector
getFloat
-
Methods inherited from interface org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector
fillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNulls
-
-
-
-
Method Detail
-
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.
-
-