public interface WritableFloatVector extends WritableColumnVector, FloatColumnVector
FloatColumnVector
.Modifier and Type | Method and 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.
|
fillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNulls
getFloat
isNullAt
void 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–2024 The Apache Software Foundation. All rights reserved.