sashapolo commented on code in PR #1076:
URL: https://github.com/apache/ignite-3/pull/1076#discussion_r974303092


##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/index/SortedIndexStorage.java:
##########
@@ -74,8 +74,13 @@ public interface SortedIndexStorage {
      * @throws IllegalArgumentException If backwards flag is passed and 
backwards iteration is not supported by the storage.
      */
     Cursor<IndexRow> scan(
-            @Nullable BinaryTuple lowerBound,
-            @Nullable BinaryTuple upperBound,
+            @Nullable BinaryTuplePrefix lowerBound,
+            @Nullable BinaryTuplePrefix upperBound,
             @MagicConstant(flagsFromClass = SortedIndexStorage.class) int flags
     );
+
+    /**
+     * Removes all data from this index.
+     */
+    void destroy();

Review Comment:
   Hm, I had a look at the HashIndexStorage and you've actually deprecated that 
method. Looks like we need to simply remove this method as well



-- 
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]

Reply via email to