示例#1
0
 public BigDecimal getDecimal(Column storeColumn) {
   int index = storeColumn.getColumnId();
   int offset = offsets[index];
   int precision = storeColumn.getPrecision();
   int scale = storeColumn.getScale();
   int length = Utility.getDecimalColumnSpace(precision, scale);
   byteBuffer.position(offset);
   return Utility.getDecimal(byteBuffer, length, precision, scale);
 }