AMashenkov commented on code in PR #7589:
URL: https://github.com/apache/ignite-3/pull/7589#discussion_r2871959938
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/QueryPlanChain.java:
##########
@@ -0,0 +1,235 @@
+package org.apache.ignite.internal.sql.engine.prepare;
+
+import it.unimi.dsi.fastutil.ints.IntSet;
+import java.util.List;
+import java.util.Map;
+import java.util.TreeMap;
+import java.util.function.Supplier;
+import javax.annotation.Nullable;
+import org.apache.ignite.internal.util.Pair;
+
+/**
+ * Represents a collection of non-overlapping intervals [from, till).
+ */
+public class QueryPlanChain<T> {
+ // Guarded by synchronized,
+ private final TreeMap<Integer, VersionItem<T>> map = new TreeMap<>();
Review Comment:
Why don't use `Int2ObjectRBTreeMap`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]