|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Decimal128 | |
|---|---|
| org.apache.hadoop.hive.common.type | |
| Uses of Decimal128 in org.apache.hadoop.hive.common.type |
|---|
| Fields in org.apache.hadoop.hive.common.type declared as Decimal128 | |
|---|---|
static Decimal128 |
Decimal128.MAX_VALUE
Maximum value that can be represented in this class. |
static Decimal128 |
Decimal128.MIN_VALUE
Minimum value that can be represented in this class. |
static Decimal128 |
Decimal128.ONE
|
| Methods in org.apache.hadoop.hive.common.type that return Decimal128 | |
|---|---|
Decimal128 |
Decimal128.addDestructive(Decimal128 right,
short scale)
Calculates addition and stores the result into this object. |
Decimal128 |
Decimal128.fastUpdateFromInternalStorage(byte[] internalStorage,
short scale)
Fats update from BigInteger two's complement representation |
Decimal128 |
Decimal128.squareDestructive()
Multiplies this with this, updating this |
Decimal128 |
Decimal128.subtractDestructive(Decimal128 right,
short scale)
Calculates subtraction and stores the result into this object. |
Decimal128 |
Decimal128.update(BigDecimal bigDecimal)
Updates the value of this object with the given BigDecimal. |
Decimal128 |
Decimal128.update(BigInteger bigInt,
short scale)
Updates the value of this object with the given BigInteger and scale. |
Decimal128 |
Decimal128.update(char[] str,
int offset,
int length,
short scale)
Updates the value of this object from the given string with given offset and length. |
Decimal128 |
Decimal128.update(Decimal128 o)
Copy the value of given object. |
Decimal128 |
Decimal128.update(Decimal128 o,
short scale)
Copy the value of given object and assigns a custom scale. |
Decimal128 |
Decimal128.update(double val,
short scale)
Update the value of this object with the given double. |
Decimal128 |
Decimal128.update(int[] array,
int offset,
int precision)
Updates the value of this object by reading from the given array, using the required number of ints for the given precision. |
Decimal128 |
Decimal128.update(IntBuffer buf,
int precision)
Updates the value of this object by reading from ByteBuffer, using the required number of ints for the given precision. |
Decimal128 |
Decimal128.update(long val)
Update the value of this object with the given long. |
Decimal128 |
Decimal128.update(long val,
short scale)
Update the value of this object with the given long with the given
scal. |
Decimal128 |
Decimal128.update(String str,
short scale)
Updates the value of this object with the given string. |
Decimal128 |
Decimal128.update128(int[] array,
int offset)
Updates the value of this object by reading from the given integers, receiving 128+32 bits of data (full range). |
Decimal128 |
Decimal128.update128(IntBuffer buf)
Updates the value of this object by reading from ByteBuffer, receiving 128+32 bits data (full ranges). |
Decimal128 |
Decimal128.update32(int[] array,
int offset)
Updates the value of this object by reading from the given integers, receiving only 32+32 bits data. |
Decimal128 |
Decimal128.update32(IntBuffer buf)
Updates the value of this object by reading from ByteBuffer, receiving only 32+32 bits data. |
Decimal128 |
Decimal128.update64(int[] array,
int offset)
Updates the value of this object by reading from the given integers, receiving only 64+32 bits data. |
Decimal128 |
Decimal128.update64(IntBuffer buf)
Updates the value of this object by reading from ByteBuffer, receiving only 64+32 bits data. |
Decimal128 |
Decimal128.update96(int[] array,
int offset)
Updates the value of this object by reading from the given integers, receiving only 96+32 bits data. |
Decimal128 |
Decimal128.update96(IntBuffer buf)
Updates the value of this object by reading from ByteBuffer, receiving only 96+32 bits data. |
Decimal128 |
Decimal128.updateVarianceDestructive(Decimal128 scratch,
Decimal128 value,
Decimal128 sum,
long count)
For UDAF variance we use the algorithm described by Chan, Golub, and LeVeque in "Algorithms for computing the sample variance: analysis and recommendations" The American Statistician, 37 (1983) pp. |
Decimal128 |
Decimal128.zeroClear()
Reset the value of this object to zero. |
| Methods in org.apache.hadoop.hive.common.type with parameters of type Decimal128 | |
|---|---|
static void |
Decimal128.add(Decimal128 left,
Decimal128 right,
Decimal128 result,
short scale)
Calculates addition and puts the result into the given object. |
Decimal128 |
Decimal128.addDestructive(Decimal128 right,
short scale)
Calculates addition and stores the result into this object. |
int |
Decimal128.compareTo(Decimal128 val)
Compares this Decimal128 with the specified Decimal128. |
static void |
Decimal128.divide(Decimal128 left,
Decimal128 right,
Decimal128 quotient,
short scale)
Performs division and puts the result into the given object. |
void |
Decimal128.divideDestructive(Decimal128 right,
short newScale)
Divide the target object by right, and scale the result to newScale. |
void |
Decimal128.divideDestructiveNativeDecimal128(Decimal128 right,
short newScale,
Decimal128 remainder)
As of 1/20/2014 this has a known bug in division. |
static void |
Decimal128.modulo(Decimal128 left,
Decimal128 right,
Decimal128 result,
short scale)
Performs decimal modulo |
static void |
Decimal128.multiply(Decimal128 left,
Decimal128 right,
Decimal128 result,
short scale)
Calculates multiplication and puts the result into the given object. |
void |
Decimal128.multiplyDestructive(Decimal128 right,
short newScale)
Performs multiplication, changing the scale of this object to the specified value. |
void |
Decimal128.multiplyDestructiveNativeDecimal128(Decimal128 right,
short newScale)
As of 2/11/2014 this has a known bug in multiplication. |
static void |
Decimal128.subtract(Decimal128 left,
Decimal128 right,
Decimal128 result,
short scale)
Calculates subtraction and puts the result into the given object. |
Decimal128 |
Decimal128.subtractDestructive(Decimal128 right,
short scale)
Calculates subtraction and stores the result into this object. |
Decimal128 |
Decimal128.update(Decimal128 o)
Copy the value of given object. |
Decimal128 |
Decimal128.update(Decimal128 o,
short scale)
Copy the value of given object and assigns a custom scale. |
Decimal128 |
Decimal128.updateVarianceDestructive(Decimal128 scratch,
Decimal128 value,
Decimal128 sum,
long count)
For UDAF variance we use the algorithm described by Chan, Golub, and LeVeque in "Algorithms for computing the sample variance: analysis and recommendations" The American Statistician, 37 (1983) pp. |
| Constructors in org.apache.hadoop.hive.common.type with parameters of type Decimal128 | |
|---|---|
Decimal128(Decimal128 o)
Copy constructor. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||