public final class DecimalUtils extends Object
Modifier and Type | Method and Description |
---|---|
static io.airlift.slice.Slice |
getLongDecimalValue(org.apache.hadoop.hive.serde2.io.HiveDecimalWritable writable,
int columnScale) |
static long |
getShortDecimalValue(byte[] bytes) |
static long |
getShortDecimalValue(org.apache.hadoop.hive.serde2.io.HiveDecimalWritable writable,
int columnScale) |
public static long getShortDecimalValue(org.apache.hadoop.hive.serde2.io.HiveDecimalWritable writable, int columnScale)
public static long getShortDecimalValue(byte[] bytes)
public static io.airlift.slice.Slice getLongDecimalValue(org.apache.hadoop.hive.serde2.io.HiveDecimalWritable writable, int columnScale)
Copyright © 2012-2016. All Rights Reserved.