public static TDeleteType deleteTypeFromHBase(Cell.Type type) {
    switch (type) {
      case Delete:
        return TDeleteType.DELETE_COLUMN;
      case DeleteColumn:
        return TDeleteType.DELETE_COLUMNS;
      case DeleteFamily:
        return TDeleteType.DELETE_FAMILY;
      case DeleteFamilyVersion:
        return TDeleteType.DELETE_FAMILY_VERSION;
      default:
        throw new IllegalArgumentException("Unknow delete type " + type);
    }
  }
Converts multiple {@link TDelete}s (Thrift) into a list of {@link Delete}s (HBase).
@param in list of <code>TDelete</code>s to convert
@return list of converted <code>Delete</code>s
@see #deleteFromThrift(TDelete)
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftUtilities.java