Package org.apache.iceberg.util
Class DecimalUtil
java.lang.Object
org.apache.iceberg.util.DecimalUtil
- 
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]toReusedFixLengthBytes(int precision, int scale, BigDecimal decimal, byte[] reuseBuf) Convert aBigDecimalto reused fix length bytes, the extra bytes are filled according to the signum. 
- 
Method Details
- 
toReusedFixLengthBytes
public static byte[] toReusedFixLengthBytes(int precision, int scale, BigDecimal decimal, byte[] reuseBuf) Convert aBigDecimalto reused fix length bytes, the extra bytes are filled according to the signum. 
 -