public class HeapBooleanVector extends AbstractHeapVector implements BooleanColumnVector
| Modifier and Type | Field and Description |
|---|---|
boolean[] |
vector |
dictionaryIds, isNulldictionary, 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.
|
allocateHeapVectors, createHeapColumn, isNullAt, reset, setNullAthasDictionary, setDictionaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisNullAt, resetpublic HeapIntVector reserveDictionaryIds(int capacity)
AbstractColumnVectorAbstractColumnVector.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 AbstractHeapVectorpublic HeapIntVector getDictionaryIds()
AbstractHeapVectorgetDictionaryIds in class AbstractHeapVectorpublic boolean getBoolean(int i)
getBoolean in interface BooleanColumnVectorCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.