public class HeapBooleanVector extends AbstractHeapVector implements BooleanColumnVector
Modifier and Type | Field and Description |
---|---|
boolean[] |
vector |
dictionaryIds, isNull
dictionary, noNulls
Constructor and Description |
---|
HeapBooleanVector(int len) |
Modifier and Type | Method and Description |
---|---|
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.
|
isNullAt, reset, setNullAt
hasDictionary, setDictionary
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNullAt, reset
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 AbstractHeapVector
public HeapIntVector getDictionaryIds()
AbstractHeapVector
getDictionaryIds
in class AbstractHeapVector
public boolean getBoolean(int i)
getBoolean
in interface BooleanColumnVector
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.