public class DoubleColumnVector extends ColumnVector
ColumnVector.Type| Modifier and Type | Field and Description |
|---|---|
static double |
NULL_VALUE |
double[] |
vector |
isNull, isRepeating, noNulls| Constructor and Description |
|---|
DoubleColumnVector()
Use this constructor by default.
|
DoubleColumnVector(int len)
Don't use this except for testing purposes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
copySelected(boolean selectedInUse,
int[] sel,
int size,
DoubleColumnVector output) |
void |
fill(double value) |
void |
flatten(boolean selectedInUse,
int[] sel,
int size) |
org.apache.hadoop.io.Writable |
getWritableObject(int index) |
void |
setElement(int outElementNum,
int inputElementNum,
ColumnVector inputVector)
Set the element in this column vector from the given input vector.
|
flattenNoNulls, flattenPush, flattenRepeatingNulls, init, reset, unFlattenpublic double[] vector
public static final double NULL_VALUE
public DoubleColumnVector()
public DoubleColumnVector(int len)
len - public org.apache.hadoop.io.Writable getWritableObject(int index)
getWritableObject in class ColumnVectorpublic void copySelected(boolean selectedInUse,
int[] sel,
int size,
DoubleColumnVector output)
public void fill(double value)
public void flatten(boolean selectedInUse,
int[] sel,
int size)
flatten in class ColumnVectorpublic void setElement(int outElementNum,
int inputElementNum,
ColumnVector inputVector)
ColumnVectorsetElement in class ColumnVectorCopyright © 2017 The Apache Software Foundation. All rights reserved.