Serialized Form
|
Package org.apache.hadoop.hive.common |
|
Package org.apache.hadoop.hive.common.type |
serialVersionUID: 1L
unscaledValue
UnsignedInt128 unscaledValue
- The unscaled value of this Decimal128, as returned by
Decimal128.getUnscaledValue().
-
- See Also:
Decimal128.getUnscaledValue()
scale
short scale
- The scale of this Decimal128, as returned by
Decimal128.getScale(). Unlike
java.math.BigDecimal, the scale is always zero or positive. The possible
value range is 0 to 38.
-
- See Also:
Decimal128.getScale()
signum
byte signum
- -1 means negative, 0 means zero, 1 means positive.
-
- See Also:
Decimal128.getSignum()
tmpArray
int[] tmpArray
- Temporary array used in
Decimal128.getHiveDecimalString()
serialVersionUID: 1L
mag
UnsignedInt128 mag
- Magnitude. Core implementation of this object.
negative
boolean negative
- Whether the value is negative (zero is NOT negative). When serialized, this
flag is combined into the most significant integer in mag. In other words,
this object can use only 127 bits in mag. UnsignedInt128 itself can handle
128 bits data.
v
int[] v
- Int32 elements as little-endian (v[0] is least significant) unsigned
integers.
count
byte count
- Number of leading non-zero elements in
UnsignedInt128.v. For example, if the
value of this object is 123 (v0=123, v1=v2=v3=0), then 1. 0 to 4. 0 means
that this object represents zero.
- See Also:
UnsignedInt128.updateCount()
Copyright © 2014 The Apache Software Foundation. All rights reserved.