public class DecimalUtils extends Object
| Constructor and Description |
|---|
DecimalUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createJdoDecimalString(org.apache.hadoop.hive.metastore.api.Decimal d) |
static org.apache.hadoop.hive.metastore.api.Decimal |
createThriftDecimal(String s) |
static org.apache.hadoop.hive.metastore.api.Decimal |
getDecimal(ByteBuffer unscaled,
short scale) |
static org.apache.hadoop.hive.metastore.api.Decimal |
getDecimal(int number,
int scale) |
public static org.apache.hadoop.hive.metastore.api.Decimal getDecimal(int number,
int scale)
public static org.apache.hadoop.hive.metastore.api.Decimal getDecimal(ByteBuffer unscaled, short scale)
public static org.apache.hadoop.hive.metastore.api.Decimal createThriftDecimal(String s)
public static String createJdoDecimalString(org.apache.hadoop.hive.metastore.api.Decimal d)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.