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