public static DeletionResource deserialize(
      final ByteBuffer buffer, final String regionId, final Consumer<DeletionResource> removeHook)
      throws IOException {
    AbstractDeleteDataNode node = DeleteNodeType.deserializeFromDAL(buffer);
    return new DeletionResource(node, removeHook, regionId);
  }
Only the default implementation is provided here, which will not be called in practice, but is
only used to implement the interface
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/consensus/deletion/DeletionResource.java