public static BigDecimalComparator parseFrom(final byte[] pbBytes)
    throws DeserializationException {
    ComparatorProtos.BigDecimalComparator proto;
    try {
      proto = ComparatorProtos.BigDecimalComparator.parseFrom(pbBytes);
    } catch (InvalidProtocolBufferException e) {
      throw new DeserializationException(e);
    }
    return new BigDecimalComparator(
      Bytes.toBigDecimal(proto.getComparable().getValue().toByteArray()));
  }
Parse a serialized representation of {@link BigDecimalComparator}
@param pbBytes A pb serialized {@link BigDecimalComparator} instance
@return An instance of {@link BigDecimalComparator} made from <code>bytes</code>
@throws DeserializationException if an error occurred
@see #toByteArray
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/BigDecimalComparator.java