public interface WritableIntVector extends WritableColumnVector, IntColumnVector
IntColumnVector.| Modifier and Type | Method and Description |
|---|---|
void |
appendInt(int v) |
void |
appendInts(int count,
int v) |
void |
fill(int value)
Fill the column vector with the provided value.
|
void |
setInt(int rowId,
int value)
Set int at rowId with the provided value.
|
void |
setInts(int rowId,
int count,
int value)
Sets value to [rowId, rowId + count) by the value, this is data that repeats continuously.
|
void |
setInts(int rowId,
int count,
int[] src,
int srcIndex)
Sets values from [src[srcIndex], src[srcIndex + count]) to [rowId, rowId + count).
|
void |
setIntsFromBinary(int rowId,
int count,
byte[] src,
int srcIndex)
Set ints from binary, need use UNSAFE to copy.
|
addElementsAppended, fillWithNulls, getDictionaryIds, getElementsAppended, hasDictionary, isAllNull, reserve, reserveAdditional, reserveDictionaryIds, reset, setAllNull, setDictionary, setNullAt, setNullsgetIntgetCapacity, getChildren, isNullAtvoid setInt(int rowId,
int value)
void setIntsFromBinary(int rowId,
int count,
byte[] src,
int srcIndex)
rowId - set start rowId.count - count for int, so the bytes size is count * 4.src - source binary.srcIndex - source binary index, it is the index for byte index.void setInts(int rowId,
int count,
int value)
void setInts(int rowId,
int count,
int[] src,
int srcIndex)
void fill(int value)
void appendInt(int v)
void appendInts(int count,
int v)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.