public abstract class AbstractHeapVector extends AbstractColumnVector
Modifier and Type | Field and Description |
---|---|
protected HeapIntVector |
dictionaryIds
Reusable column for ids of dictionary.
|
protected boolean[] |
isNull |
dictionary, noNulls
Constructor and Description |
---|
AbstractHeapVector(int len) |
Modifier and Type | Method and Description |
---|---|
HeapIntVector |
getDictionaryIds()
Returns the underlying integer column for ids of dictionary.
|
boolean |
isNullAt(int i) |
HeapIntVector |
reserveDictionaryIds(int capacity)
Reserve a integer column for ids of dictionary.
|
void |
reset()
Resets the column to default state.
|
void |
setNullAt(int i) |
hasDictionary, setDictionary
protected boolean[] isNull
protected HeapIntVector dictionaryIds
public void reset()
public void setNullAt(int i)
public boolean isNullAt(int i)
public HeapIntVector reserveDictionaryIds(int capacity)
AbstractColumnVector
AbstractColumnVector.setDictionary(org.apache.flink.table.dataformat.vector.Dictionary)
. Suppose a ColumnVector's data
comes from two pages. Perhaps one page uses a dictionary and the other page does not use a
dictionary. The first page that uses a field will have dictionaryIds, which requires
decoding the first page (Out batch does not support a mix of dictionary).reserveDictionaryIds
in class AbstractColumnVector
public HeapIntVector getDictionaryIds()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.