public class AbstractArrayBasedVector extends AbstractStructVector
| Modifier and Type | Field and Description |
|---|---|
protected long[] |
lengths |
protected long[] |
offsets |
childrenBYTE_ARRAY_OFFSET, dictionaryIds, DOUBLE_ARRAY_OFFSET, FLOAT_ARRAY_OFFSET, INT_ARRAY_OFFSET, isNull, LITTLE_ENDIAN, LONG_ARRAY_OFFSET, UNSAFEcapacity, dictionary, elementsAppended, isAllNull, noNulls| Constructor and Description |
|---|
AbstractArrayBasedVector(int len,
ColumnVector[] children) |
| Modifier and Type | Method and Description |
|---|---|
long[] |
getLengths() |
long[] |
getOffsets() |
void |
putOffsetLength(int index,
long offset,
long length) |
void |
reset()
Resets the column to default state.
|
void |
setLengths(long[] lengths) |
void |
setOffsets(long[] offsets) |
getChildrenfillWithNulls, getDictionaryIds, isNullAt, reserveDictionaryIds, reserveInternal, setNullAt, setNullsaddElementsAppended, getCapacity, getElementsAppended, hasDictionary, isAllNull, reserve, setAllNull, setDictionaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddElementsAppended, fillWithNulls, getDictionaryIds, getElementsAppended, hasDictionary, isAllNull, reserve, reserveAdditional, reserveDictionaryIds, setAllNull, setDictionary, setNullAt, setNullsgetCapacity, isNullAtgetCapacitypublic AbstractArrayBasedVector(int len,
ColumnVector[] children)
public void putOffsetLength(int index,
long offset,
long length)
public long[] getOffsets()
public void setOffsets(long[] offsets)
public long[] getLengths()
public void setLengths(long[] lengths)
public void reset()
AbstractHeapVectorreset in interface WritableColumnVectorreset in class AbstractStructVectorCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.