Class DecimalUtils


  • public final class DecimalUtils
    extends Object
    • Method Detail

      • getShortDecimalValue

        public static long getShortDecimalValue​(org.apache.hadoop.hive.serde2.io.HiveDecimalWritable writable,
                                                int columnScale)
      • getShortDecimalValue

        public static long getShortDecimalValue​(byte[] bytes)
      • getLongDecimalValue

        public static io.airlift.slice.Slice getLongDecimalValue​(org.apache.hadoop.hive.serde2.io.HiveDecimalWritable writable,
                                                                 int columnScale)