public abstract class ColumnVector extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ColumnVector.Type |
Modifier and Type | Field and Description |
---|---|
boolean[] |
isNull |
boolean |
isRepeating |
boolean |
noNulls |
Constructor and Description |
---|
ColumnVector(int len)
Constructor for super-class ColumnVector.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
flatten(boolean selectedInUse,
int[] sel,
int size) |
void |
flattenNoNulls(boolean selectedInUse,
int[] sel,
int size) |
protected void |
flattenPush() |
void |
flattenRepeatingNulls(boolean selectedInUse,
int[] sel,
int size) |
abstract org.apache.hadoop.io.Writable |
getWritableObject(int index) |
void |
init()
Initialize the column vector.
|
void |
reset()
Resets the column to default state
- fills the isNull array with false
- sets noNulls to true
- sets isRepeating to false
|
abstract void |
setElement(int outElementNum,
int inputElementNum,
ColumnVector inputVector)
Set the element in this column vector from the given input vector.
|
void |
unFlatten()
Restore the state of isRepeating and noNulls to what it was
before flattening.
|
public boolean[] isNull
public boolean noNulls
public boolean isRepeating
public ColumnVector(int len)
len
- Vector lengthpublic abstract org.apache.hadoop.io.Writable getWritableObject(int index)
public void reset()
public abstract void flatten(boolean selectedInUse, int[] sel, int size)
public void flattenRepeatingNulls(boolean selectedInUse, int[] sel, int size)
public void flattenNoNulls(boolean selectedInUse, int[] sel, int size)
public void unFlatten()
protected void flattenPush()
public abstract void setElement(int outElementNum, int inputElementNum, ColumnVector inputVector)
public void init()
Copyright © 2017 The Apache Software Foundation. All rights reserved.