public abstract class MultiValuedColumnVector extends ColumnVector
ColumnVector.Type
Modifier and Type | Field and Description |
---|---|
int |
childCount |
long[] |
lengths |
long[] |
offsets |
isNull, isRepeating, noNulls, type
Constructor and Description |
---|
MultiValuedColumnVector(ColumnVector.Type type,
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.
|
void |
shallowCopyTo(ColumnVector otherCv)
Shallow copy of the contents of this vector to the other vector;
replaces other vector's values.
|
copySelected, decRef, flattenNoNulls, flattenPush, flattenRepeatingNulls, getRef, incRef, setElement, setRepeating, stringifyValue, unFlatten
public long[] offsets
public long[] lengths
public int childCount
public MultiValuedColumnVector(ColumnVector.Type type, 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
public void shallowCopyTo(ColumnVector otherCv)
ColumnVector
shallowCopyTo
in class ColumnVector
Copyright © 2022 The Apache Software Foundation. All rights reserved.