public abstract class AbstractWritableVector extends Object implements WritableColumnVector, Serializable
ColumnVector
s, including NULL information and
dictionary. NOTE: if there are some nulls, must set noNulls
to false.Modifier and Type | Field and Description |
---|---|
protected Dictionary |
dictionary
The Dictionary for this column.
|
protected boolean |
noNulls |
Constructor and Description |
---|
AbstractWritableVector() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasDictionary()
Returns true if this column has a dictionary.
|
void |
setDictionary(Dictionary dictionary)
Update the dictionary.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fillWithNulls, getDictionaryIds, reserveDictionaryIds, reset, setNullAt, setNulls
isNullAt
protected boolean noNulls
protected Dictionary dictionary
public void setDictionary(Dictionary dictionary)
setDictionary
in interface WritableColumnVector
public boolean hasDictionary()
hasDictionary
in interface WritableColumnVector
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.