public interface WritableDoubleVector extends WritableColumnVector, DoubleColumnVector
DoubleColumnVector
.Modifier and Type | Method and Description |
---|---|
void |
fill(double value)
Fill the column vector with the provided value.
|
void |
setDouble(int rowId,
double value)
Set double at rowId with the provided value.
|
void |
setDoublesFromBinary(int rowId,
int count,
byte[] src,
int srcIndex)
Set doubles from binary, need use UNSAFE to copy.
|
fillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNulls
getDouble
isNullAt
void setDouble(int rowId, double value)
void setDoublesFromBinary(int rowId, int count, byte[] src, int srcIndex)
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.void fill(double value)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.