Package org.apache.iceberg.util
Class DecimalUtil
- java.lang.Object
-
- org.apache.iceberg.util.DecimalUtil
-
public class DecimalUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
toReusedFixLengthBytes(int precision, int scale, java.math.BigDecimal decimal, byte[] reuseBuf)
Convert aBigDecimal
to reused fix length bytes, the extra bytes are filled according to the signum.
-