public abstract class MultiValuedColumnVector extends ColumnVector
ColumnVector.Type
Modifier and Type | Field and Description |
---|---|
int |
childCount |
long[] |
lengths |
long[] |
offsets |
isNull, isRepeating, noNulls
Constructor and Description |
---|
MultiValuedColumnVector(int len)
Constructor for MultiValuedColumnVector.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
childFlatten(boolean useSelected,
int[] selected,
int size) |
void |
ensureSize(int size,
boolean preserveData)
Ensure the ColumnVector can hold at least size values.
|
void |
flatten(boolean selectedInUse,
int[] sel,
int size) |
void |
init()
Initializee the vector
|
void |
reset()
Reset the vector for the next batch.
|
flattenNoNulls, flattenPush, flattenRepeatingNulls, setElement, setRepeating, stringifyValue, unFlatten
public long[] offsets
public long[] lengths
public int childCount
public MultiValuedColumnVector(int len)
len
- Vector lengthprotected abstract void childFlatten(boolean useSelected, int[] selected, int size)
public void flatten(boolean selectedInUse, int[] sel, int size)
flatten
in class ColumnVector
public void ensureSize(int size, boolean preserveData)
ColumnVector
ensureSize
in class ColumnVector
size
- the new minimum sizepreserveData
- should the old data be preserved?public void init()
init
in class ColumnVector
public void reset()
reset
in class ColumnVector
Copyright © 2016 The Apache Software Foundation. All rights reserved.