Class DecimalUtils

java.lang.Object
io.trino.plugin.hive.util.DecimalUtils

public final class DecimalUtils extends Object
  • Method Details

    • 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 Int128 getLongDecimalValue(org.apache.hadoop.hive.serde2.io.HiveDecimalWritable writable, int columnScale)