public class MapColumnVector extends MultiValuedColumnVector
ColumnVector.Type
Modifier and Type | Field and Description |
---|---|
ColumnVector |
keys |
ColumnVector |
values |
childCount, lengths, offsets
isNull, isRepeating, noNulls
Constructor and Description |
---|
MapColumnVector() |
MapColumnVector(int len,
ColumnVector keys,
ColumnVector values)
Constructor for MapColumnVector
|
Modifier and Type | Method and Description |
---|---|
protected void |
childFlatten(boolean useSelected,
int[] selected,
int size) |
void |
init()
Initializee the vector
|
void |
reset()
Reset the vector for the next batch.
|
void |
setElement(int outElementNum,
int inputElementNum,
ColumnVector inputVector)
Set the element in this column vector from the given input vector.
|
void |
stringifyValue(StringBuilder buffer,
int row)
Print the value for this column into the given string builder.
|
void |
unFlatten()
Restore the state of isRepeating and noNulls to what it was
before flattening.
|
ensureSize, flatten
flattenNoNulls, flattenPush, flattenRepeatingNulls, setRepeating
public ColumnVector keys
public ColumnVector values
public MapColumnVector()
public MapColumnVector(int len, ColumnVector keys, ColumnVector values)
len
- Vector lengthkeys
- The keys column vectorvalues
- The values column vectorprotected void childFlatten(boolean useSelected, int[] selected, int size)
childFlatten
in class MultiValuedColumnVector
public void setElement(int outElementNum, int inputElementNum, ColumnVector inputVector)
ColumnVector
setElement
in class ColumnVector
public void stringifyValue(StringBuilder buffer, int row)
ColumnVector
stringifyValue
in class ColumnVector
buffer
- the buffer to print intorow
- the id of the row to printpublic void init()
MultiValuedColumnVector
init
in class MultiValuedColumnVector
public void reset()
MultiValuedColumnVector
reset
in class MultiValuedColumnVector
public void unFlatten()
ColumnVector
unFlatten
in class ColumnVector
Copyright © 2016 The Apache Software Foundation. All rights reserved.