timoninmaxim commented on a change in pull request #9429:
URL: https://github.com/apache/ignite/pull/9429#discussion_r722591642
##########
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:
> BTW, is it possible that onlyOne.indexSearchRow()
Yes, it's case of finding range in index rows by search row (it's ordinary
case for IndexQuery or SqlFieldsQuery). In this moment we compare user's search
row with stored (non-search) index 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]