- create
Same as the method above, except blanks before and after are tolerated.
- bigDecimalValue
Return a BigDecimal representing the decimal. The BigDecimal class is able to
accurately represent t
- toString
- unscaledValue
Get a BigInteger representing the decimal's digits without a dot.
- doubleValue
Return a double representing the decimal. Due the limitations of double, some
values will not be acc
- compareTo
- scale
Returns the scale of the decimal. Range 0 .. MAX_SCALE.
- longValue
Return the long value of a decimal. This method will return a corrupted value
unless isLong() is tru
- setScale
Do decimal rounding and return the result. When the roundingPoint is 0 or
positive, we round away lo
- enforcePrecisionScale
Determine if a decimal fits within a specified maxPrecision and maxScale, and
round off fractional d
- hashCode
This is returns original hash code as returned by HiveDecimalV1. We need this
when the HiveDecimalV1
- intValue
An int variation of longValue(). This method will return a corrupted value
unless isInt() is true.