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.
|
addElementsAppended, fillWithNulls, getDictionaryIds, getElementsAppended, hasDictionary, isAllNull, reserve, reserveAdditional, reserveDictionaryIds, reset, setAllNull, setDictionary, setNullAt, setNullsgetDoublegetCapacity, getChildren, isNullAtvoid 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–2025 The Apache Software Foundation. All rights reserved.