public interface WritableColumnVector extends ColumnVector
ColumnVector
.Modifier and Type | Method and Description |
---|---|
void |
fillWithNulls()
Fill the column vector with nulls.
|
WritableIntVector |
getDictionaryIds()
Get reserved dictionary ids.
|
boolean |
hasDictionary()
Check if there's a dictionary.
|
WritableIntVector |
reserveDictionaryIds(int capacity)
Reserve a integer column for ids of dictionary.
|
void |
reset()
Resets the column to default state.
|
void |
setDictionary(Dictionary dictionary)
Set the dictionary, it should work with dictionary ids.
|
void |
setNullAt(int rowId)
Set null at rowId.
|
void |
setNulls(int rowId,
int count)
Set nulls from rowId to rowId + count (exclude).
|
isNullAt
void reset()
void setNullAt(int rowId)
void setNulls(int rowId, int count)
void fillWithNulls()
void setDictionary(Dictionary dictionary)
boolean hasDictionary()
WritableIntVector reserveDictionaryIds(int capacity)
WritableIntVector
should be equal to or bigger than capacity. DictionaryIds must inconsistent with setDictionary(org.apache.paimon.data.columnar.Dictionary)
. We don't support a mix of dictionary.WritableIntVector getDictionaryIds()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.