Uses of Class org.apache.hadoop.hive.common.type.HiveDecimal (Hive Storage API 2.1.1-pre-orc API)
Date: 2016-10-19

## Uses of Class
org.apache.hadoop.hive.common.type.HiveDecimal

- Packages that use HiveDecimal
  Package | Description
  --- | ---
  org.apache.hadoop.hive.common.type |
  org.apache.hadoop.hive.ql.exec.vector |
  org.apache.hadoop.hive.ql.util |
  org.apache.hadoop.hive.serde2.io |

- - ### Uses of HiveDecimal in org.apache.hadoop.hive.common.type

    Fields in org.apache.hadoop.hive.common.type declared as HiveDecimal
    Modifier and Type | Field and Description
    --- | ---
    `HiveDecimal` | RandomTypeUtil.HiveDecimalAndPrecisionScale.`hiveDecimal`
    `static HiveDecimal` | HiveDecimal.`ONE`
    `static HiveDecimal` | HiveDecimal.`ZERO`

    Methods in org.apache.hadoop.hive.common.type that return HiveDecimal
    Modifier and Type | Method and Description
    --- | ---
    `HiveDecimal` | HiveDecimal.`abs()`
    `HiveDecimal` | HiveDecimal.`add(HiveDecimal dec)`
    `static HiveDecimal` | HiveDecimal.`create(BigDecimal b)`
    `static HiveDecimal` | HiveDecimal.`create(BigDecimal b, boolean allowRounding)`
    `static HiveDecimal` | HiveDecimal.`create(BigInteger bi)`
    `static HiveDecimal` | HiveDecimal.`create(BigInteger unscaled, int scale)`
    `static HiveDecimal` | HiveDecimal.`create(int i)`
    `static HiveDecimal` | HiveDecimal.`create(long l)`
    `static HiveDecimal` | HiveDecimal.`create(String dec)`
    `HiveDecimal` | HiveDecimal.`divide(HiveDecimal dec)`
    `static HiveDecimal` | HiveDecimal.`enforcePrecisionScale(HiveDecimal dec, int maxPrecision, int maxScale)`
    `HiveDecimal` | HiveDecimal.`multiply(HiveDecimal dec)`
    `HiveDecimal` | HiveDecimal.`negate()`
    `HiveDecimal` | HiveDecimal.`pow(int n)`
    `HiveDecimal` | HiveDecimal.`remainder(HiveDecimal dec)`
    `HiveDecimal` | HiveDecimal.`scaleByPowerOfTen(int n)`
    `HiveDecimal` | HiveDecimal.`setScale(int i)`
    `HiveDecimal` | HiveDecimal.`setScale(int adjustedScale, int rm)`
    `HiveDecimal` | HiveDecimal.`subtract(HiveDecimal dec)`

    Methods in org.apache.hadoop.hive.common.type with parameters of type HiveDecimal
    Modifier and Type | Method and Description
    --- | ---
    `HiveDecimal` | HiveDecimal.`add(HiveDecimal dec)`
    `int` | HiveDecimal.`compareTo(HiveDecimal dec)`
    `HiveDecimal` | HiveDecimal.`divide(HiveDecimal dec)`
    `static HiveDecimal` | HiveDecimal.`enforcePrecisionScale(HiveDecimal dec, int maxPrecision, int maxScale)`
    `HiveDecimal` | HiveDecimal.`multiply(HiveDecimal dec)`
    `HiveDecimal` | HiveDecimal.`remainder(HiveDecimal dec)`
    `HiveDecimal` | HiveDecimal.`subtract(HiveDecimal dec)`

  - ### Uses of HiveDecimal in org.apache.hadoop.hive.ql.exec.vector

    Methods in org.apache.hadoop.hive.ql.exec.vector with parameters of type HiveDecimal
    Modifier and Type | Method and Description
    --- | ---
    `void` | DecimalColumnVector.`fill(HiveDecimal value)`
    `void` | DecimalColumnVector.`set(int elementNum, HiveDecimal hiveDec)`

  - ### Uses of HiveDecimal in org.apache.hadoop.hive.ql.util

    Methods in org.apache.hadoop.hive.ql.util with parameters of type HiveDecimal
    Modifier and Type | Method and Description
    --- | ---
    `static Timestamp` | TimestampUtils.`decimalToTimestamp(HiveDecimal d)`

  - ### Uses of HiveDecimal in org.apache.hadoop.hive.serde2.io

    Methods in org.apache.hadoop.hive.serde2.io that return HiveDecimal
    Modifier and Type | Method and Description
    --- | ---
    `HiveDecimal` | HiveDecimalWritable.`getHiveDecimal()`
    `HiveDecimal` | HiveDecimalWritable.`getHiveDecimal(int maxPrecision, int maxScale)` Get a HiveDecimal instance from the writable and constraint it with maximum precision/scale.

    Methods in org.apache.hadoop.hive.serde2.io with parameters of type HiveDecimal
    Modifier and Type | Method and Description
    --- | ---
    `void` | HiveDecimalWritable.`set(HiveDecimal value)`
    `void` | HiveDecimalWritable.`set(HiveDecimal value, int maxPrecision, int maxScale)`

    Constructors in org.apache.hadoop.hive.serde2.io with parameters of type HiveDecimal
    Constructor and Description
    `HiveDecimalWritable(HiveDecimal value)`

Copyright © 2016 The Apache Software Foundation. All rights reserved.