public WALEntryType getType() {
    return type;
  }
This deserialization method is only for iot consensus and just deserializes InsertRowNode and
InsertTabletNode.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/buffer/WALEntry.java