Package org.apache.iceberg.util
Class DecimalUtil
java.lang.Object
org.apache.iceberg.util.DecimalUtil
- 
Method SummaryModifier 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- 
toReusedFixLengthBytespublic 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.
 
-