public class ListColumnVector extends MultiValuedColumnVector
ColumnVector.Type
Modifier and Type | Field and Description |
---|---|
ColumnVector |
child |
childCount, lengths, offsets
isNull, isRepeating, noNulls, type
Constructor and Description |
---|
ListColumnVector() |
ListColumnVector(int len,
ColumnVector child)
Constructor for ListColumnVector.
|
Modifier and Type | Method and Description |
---|---|
protected void |
childFlatten(boolean useSelected,
int[] selected,
int size) |
void |
copySelected(boolean selectedInUse,
int[] sel,
int size,
ColumnVector outputColVector) |
void |
init()
Initializee the vector
|
void |
reset()
Reset the vector for the next batch.
|
void |
setElement(int outputElementNum,
int inputElementNum,
ColumnVector inputColVector)
Set the element in this column vector from the given input vector.
|
void |
shallowCopyTo(ColumnVector otherCv)
Shallow copy of the contents of this vector to the other vector;
replaces other vector's values.
|
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
decRef, flattenNoNulls, flattenPush, flattenRepeatingNulls, getRef, incRef, setRepeating
public ColumnVector child
public ListColumnVector()
public ListColumnVector(int len, ColumnVector child)
len
- Vector lengthchild
- The child vectorprotected void childFlatten(boolean useSelected, int[] selected, int size)
childFlatten
in class MultiValuedColumnVector
public void setElement(int outputElementNum, int inputElementNum, ColumnVector inputColVector)
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
public void copySelected(boolean selectedInUse, int[] sel, int size, ColumnVector outputColVector)
copySelected
in class ColumnVector
public void shallowCopyTo(ColumnVector otherCv)
ColumnVector
shallowCopyTo
in class MultiValuedColumnVector
Copyright © 2021 The Apache Software Foundation. All rights reserved.