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, UNSAFE
dictionary, 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, setNulls
hasDictionary, setDictionary
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNulls
isNullAt
public 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 MapColumnVector
public ColumnVector getKeyColumnVector()
getKeyColumnVector
in interface MapColumnVector
public ColumnVector getValueColumnVector()
getValueColumnVector
in interface MapColumnVector
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.