timoninmaxim commented on a change in pull request #9429:
URL: https://github.com/apache/ignite/pull/9429#discussion_r722663238
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/IndexRowComparator.java
##########
@@ -43,4 +43,12 @@
* @param idx offset of index key.
*/
public int compareKey(IndexRow left, IndexRow right, int idx) throws
IgniteCheckedException;
+
+ /**
+ * Compare index keys.
+ *
+ * @param left index key.
+ * @param right index key.
+ */
+ public int compareSearchKey(IndexKey left, IndexKey right) throws
IgniteCheckedException;
Review comment:
> Why not just call compareKey from compareRow when both.indexSearchRow()
Because I don't have IndexRow in moment of merging user's criteria. It's
just number of index keys of the same field. I should check every boundary of
every field. And only after that I can create an IndexRow (that is a search
row).
--
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]