public class HeapBooleanVector extends AbstractHeapVector implements WritableBooleanVector
| 限定符和类型 | 字段和说明 |
|---|---|
boolean[] |
vector |
BYTE_ARRAY_OFFSET, dictionaryIds, DOUBLE_ARRAY_OFFSET, FLOAT_ARRAY_OFFSET, INT_ARRAY_OFFSET, isNull, LITTLE_ENDIAN, LONG_ARRAY_OFFSET, UNSAFEdictionary, noNulls| 构造器和说明 |
|---|
HeapBooleanVector(int len) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 WritableColumnVectorreserveDictionaryIds 在类中 AbstractHeapVectorpublic HeapIntVector getDictionaryIds()
AbstractHeapVectorgetDictionaryIds 在接口中 WritableColumnVectorgetDictionaryIds 在类中 AbstractHeapVectorpublic boolean getBoolean(int i)
getBoolean 在接口中 BooleanColumnVectorpublic void setBoolean(int i,
boolean value)
WritableBooleanVectorsetBoolean 在接口中 WritableBooleanVectorpublic void fill(boolean value)
WritableBooleanVectorfill 在接口中 WritableBooleanVectorCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.