public interface WritableFloatVector extends WritableColumnVector, FloatColumnVector
FloatColumnVector.| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
fillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNullsgetFloatisNullAtvoid setFloat(int rowId,
float value)
void setFloatsFromBinary(int rowId,
int count,
byte[] src,
int srcIndex)
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.void fill(float value)
Copyright © 2023 The Apache Software Foundation. All rights reserved.