public class AbstractArrayBasedVector extends AbstractStructVector
Modifier and Type | Field and Description |
---|---|
protected long[] |
lengths |
protected long[] |
offsets |
children
BYTE_ARRAY_OFFSET, dictionaryIds, DOUBLE_ARRAY_OFFSET, FLOAT_ARRAY_OFFSET, INT_ARRAY_OFFSET, isNull, LITTLE_ENDIAN, LONG_ARRAY_OFFSET, UNSAFE
capacity, 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) |
getChildren
fillWithNulls, getDictionaryIds, isNullAt, reserveDictionaryIds, reserveInternal, setNullAt, setNulls
addElementsAppended, getCapacity, getElementsAppended, hasDictionary, isAllNull, reserve, setAllNull, setDictionary
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addElementsAppended, fillWithNulls, getDictionaryIds, getElementsAppended, hasDictionary, isAllNull, reserve, reserveAdditional, reserveDictionaryIds, setAllNull, setDictionary, setNullAt, setNulls
getCapacity, isNullAt
getCapacity
public 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()
AbstractHeapVector
reset
in interface WritableColumnVector
reset
in class AbstractStructVector
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.