public static ModType deserialize(InputStream stream) throws IOException {
      byte typeNum = ReadWriteIOUtils.readByte(stream);
      switch (typeNum) {
        case 0x00:
          return TABLE_DELETION;
        case 0x01:
          return TREE_DELETION;
        default:
          throw new IllegalArgumentException("Unknown ModType: " + typeNum);
      }
    }
Test if the deletion affects all column (including the time column) of a device.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/modification/ModEntry.java