Package | Description |
---|---|
org.apache.hadoop.hive.ql.exec.vector | |
org.apache.hadoop.hive.ql.util | |
org.apache.hadoop.hive.serde2.io |
Modifier and Type | Field and Description |
---|---|
HiveDecimalWritable[] |
DecimalColumnVector.vector
A vector of HiveDecimalWritable objects.
|
Modifier and Type | Method and Description |
---|---|
HiveDecimalWritable |
Decimal64ColumnVector.getScratchWritable()
Return a convenience writable object stored by this column vector.
|
Modifier and Type | Method and Description |
---|---|
void |
Decimal64ColumnVector.set(int elementNum,
HiveDecimalWritable writable)
Set a Decimal64 field from a HiveDecimalWritable.
|
void |
DecimalColumnVector.set(int elementNum,
HiveDecimalWritable writable)
Set a Decimal64 field from a HiveDecimalWritable.
|
Modifier and Type | Method and Description |
---|---|
static Timestamp |
TimestampUtils.decimalToTimestamp(HiveDecimalWritable decWritable,
HiveDecimalWritable scratchDecWritable1,
HiveDecimalWritable scratchDecWritable2)
Take a HiveDecimalWritable and return the timestamp representation where the fraction part
is the nanoseconds and integer part is the number of seconds.
|
Modifier and Type | Method and Description |
---|---|
static HiveDecimalWritable |
HiveDecimalWritable.enforcePrecisionScale(HiveDecimalWritable writable,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
static int |
HiveDecimalWritable.compareTo(HiveDecimal dec,
HiveDecimalWritable writable) |
int |
HiveDecimalWritable.compareTo(HiveDecimalWritable writable) |
static HiveDecimalWritable |
HiveDecimalWritable.enforcePrecisionScale(HiveDecimalWritable writable,
int precision,
int scale) |
void |
HiveDecimalWritable.mutateAdd(HiveDecimalWritable decWritable) |
void |
HiveDecimalWritable.mutateDivide(HiveDecimalWritable decWritable) |
void |
HiveDecimalWritable.mutateMultiply(HiveDecimalWritable decWritable) |
void |
HiveDecimalWritable.mutateRemainder(HiveDecimalWritable decWritable) |
void |
HiveDecimalWritable.mutateSubtract(HiveDecimalWritable decWritable) |
void |
HiveDecimalWritable.set(HiveDecimalWritable writable)
Set the writable's current value to the value in a another decimal writable.
|
void |
HiveDecimalWritable.set(HiveDecimalWritable writable,
int maxPrecision,
int maxScale)
Set the writable's current value to a writable's value with a specified precision / scale
enforced.
|
Constructor and Description |
---|
HiveDecimalWritable(HiveDecimalWritable writable)
Create a decimal writable with an initial value from another decimal writable.
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.