public ByteBuffer serialize() {
    ByteBuffer deletion = deleteDataNode.serializeToDAL();
    final ByteBuffer result = ByteBuffer.allocate(deletion.limit());
    result.put(deletion);
    return result;
  }
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