You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/09/28 08:42:21 UTC

[GitHub] [ignite] anton-vinogradov commented on a change in pull request #9429: IGNITE-15535 Allow specify multiple criteria for the same field

anton-vinogradov commented on a change in pull request #9429:
URL: https://github.com/apache/ignite/pull/9429#discussion_r716812646



##########
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:
       Looks like this method partially duplicates `H2RowComparator#compareKey`
   Should it use this method instead?




-- 
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: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org