private BigDecimalMsg getProtoForType(BigDecimal t) {
    BigDecimalMsg.Builder builder = BigDecimalMsg.newBuilder();
    return builder.setBigdecimalMsg(UnsafeByteOperations.unsafeWrap(Bytes.toBytes(t))).build();
  }
ColumnInterpreter for doing Aggregation's with BigDecimal columns. This class is required at the
RegionServer also.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/coprocessor/BigDecimalColumnInterpreter.java