public class HeapBooleanVector extends AbstractHeapVector implements WritableBooleanVector
| Modifier and Type | Field and Description |
|---|---|
boolean[] |
vector |
BYTE_ARRAY_OFFSET, dictionaryIds, DOUBLE_ARRAY_OFFSET, FLOAT_ARRAY_OFFSET, INT_ARRAY_OFFSET, isNull, LITTLE_ENDIAN, LONG_ARRAY_OFFSET, UNSAFEdictionary, noNulls| Constructor and Description |
|---|
HeapBooleanVector(int len) |
| Modifier and Type | Method and Description |
|---|---|
void |
fill(boolean value)
Fill the column vector with the provided value.
|
boolean |
getBoolean(int i) |
HeapIntVector |
getDictionaryIds()
Returns the underlying integer column for ids of dictionary.
|
HeapIntVector |
reserveDictionaryIds(int capacity)
Reserve a integer column for ids of dictionary.
|
void |
setBoolean(int i,
boolean value)
Set boolean at rowId with the provided value.
|
fillWithNulls, getLen, isNullAt, reset, setNullAt, setNullshasDictionary, setDictionaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfillWithNulls, hasDictionary, reset, setDictionary, setNullAt, setNullsisNullAtpublic HeapIntVector reserveDictionaryIds(int capacity)
WritableColumnVectorWritableIntVector
should be equal to or bigger than capacity. DictionaryIds must inconsistent with WritableColumnVector.setDictionary(org.apache.paimon.data.columnar.Dictionary). We don't support a mix of dictionary.reserveDictionaryIds in interface WritableColumnVectorreserveDictionaryIds in class AbstractHeapVectorpublic HeapIntVector getDictionaryIds()
AbstractHeapVectorgetDictionaryIds in interface WritableColumnVectorgetDictionaryIds in class AbstractHeapVectorpublic boolean getBoolean(int i)
getBoolean in interface BooleanColumnVectorpublic void setBoolean(int i,
boolean value)
WritableBooleanVectorsetBoolean in interface WritableBooleanVectorpublic void fill(boolean value)
WritableBooleanVectorfill in interface WritableBooleanVectorCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.