public class DecimalColumnVector extends ColumnVector
ColumnVector.Type
Modifier and Type | Field and Description |
---|---|
short |
precision |
short |
scale |
HiveDecimalWritable[] |
vector
A vector of HiveDecimalWritable objects.
|
isNull, isRepeating, noNulls
Constructor and Description |
---|
DecimalColumnVector(int precision,
int scale) |
DecimalColumnVector(int size,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
void |
flatten(boolean selectedInUse,
int[] sel,
int size) |
org.apache.hadoop.io.Writable |
getWritableObject(int index) |
void |
set(int elementNum,
HiveDecimal hiveDec) |
void |
set(int elementNum,
HiveDecimalWritable writeable) |
void |
setElement(int outElementNum,
int inputElementNum,
ColumnVector inputVector)
Set the element in this column vector from the given input vector.
|
void |
setNullDataValue(int elementNum) |
flattenNoNulls, flattenPush, flattenRepeatingNulls, init, reset, unFlatten
public HiveDecimalWritable[] vector
public short scale
public short precision
public DecimalColumnVector(int precision, int scale)
public DecimalColumnVector(int size, int precision, int scale)
public org.apache.hadoop.io.Writable getWritableObject(int index)
getWritableObject
in class ColumnVector
public void flatten(boolean selectedInUse, int[] sel, int size)
flatten
in class ColumnVector
public void setElement(int outElementNum, int inputElementNum, ColumnVector inputVector)
ColumnVector
setElement
in class ColumnVector
public void set(int elementNum, HiveDecimalWritable writeable)
public void set(int elementNum, HiveDecimal hiveDec)
public void setNullDataValue(int elementNum)
Copyright © 2017 The Apache Software Foundation. All rights reserved.