public class HeapMapVector extends AbstractHeapVector implements WritableColumnVector, MapColumnVector
BYTE_ARRAY_OFFSET, dictionaryIds, DOUBLE_ARRAY_OFFSET, FLOAT_ARRAY_OFFSET, INT_ARRAY_OFFSET, isNull, LITTLE_ENDIAN, LONG_ARRAY_OFFSET, UNSAFEdictionary, noNulls| Constructor and Description |
|---|
HeapMapVector(int len,
ColumnVector keys,
ColumnVector values) |
| Modifier and Type | Method and Description |
|---|---|
ColumnVector |
getKeyColumnVector() |
InternalMap |
getMap(int i) |
int |
getSize() |
ColumnVector |
getValueColumnVector() |
void |
setKeys(ColumnVector keys) |
void |
setLengths(long[] lengths) |
void |
setOffsets(long[] offsets) |
void |
setSize(int size) |
void |
setValues(ColumnVector values) |
fillWithNulls, getDictionaryIds, getLen, isNullAt, reserveDictionaryIds, reset, setNullAt, setNullshasDictionary, setDictionaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNullsisNullAtpublic HeapMapVector(int len,
ColumnVector keys,
ColumnVector values)
public void setOffsets(long[] offsets)
public void setLengths(long[] lengths)
public int getSize()
public void setSize(int size)
public void setKeys(ColumnVector keys)
public void setValues(ColumnVector values)
public InternalMap getMap(int i)
getMap in interface MapColumnVectorpublic ColumnVector getKeyColumnVector()
getKeyColumnVector in interface MapColumnVectorpublic ColumnVector getValueColumnVector()
getValueColumnVector in interface MapColumnVectorCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.