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 | ensureSize(int size,
          boolean preserveData)Ensure the ColumnVector can hold at least size values. | 
| void | fill(double value) | 
| void | fillWithNulls() | 
| void | flatten(boolean selectedInUse,
       int[] sel,
       int size) | 
| void | setElement(int outElementNum,
          int inputElementNum,
          ColumnVector inputVector)Set the element in this column vector from the given input vector. | 
| void | stringifyValue(StringBuilder buffer,
              int row)Print the value for this column into the given string builder. | 
flattenNoNulls, flattenPush, flattenRepeatingNulls, init, reset, setRepeating, unFlattenpublic double[] vector
public static final double NULL_VALUE
public DoubleColumnVector()
public DoubleColumnVector(int len)
len - public void copySelected(boolean selectedInUse,
                         int[] sel,
                         int size,
                         DoubleColumnVector output)
public void fill(double value)
public void fillWithNulls()
public void flatten(boolean selectedInUse,
                    int[] sel,
                    int size)
flatten in class ColumnVectorpublic void setElement(int outElementNum,
                       int inputElementNum,
                       ColumnVector inputVector)
ColumnVectorsetElement in class ColumnVectorpublic void stringifyValue(StringBuilder buffer, int row)
ColumnVectorstringifyValue in class ColumnVectorbuffer - the buffer to print intorow - the id of the row to printpublic void ensureSize(int size,
                       boolean preserveData)
ColumnVectorensureSize in class ColumnVectorsize - the new minimum sizepreserveData - should the old data be preserved?Copyright © 2016 The Apache Software Foundation. All rights reserved.