SammyVimes commented on code in PR #2266:
URL: https://github.com/apache/ignite-3/pull/2266#discussion_r1252210523


##########
modules/metastorage-api/src/main/java/org/apache/ignite/internal/metastorage/MetaStorageManager.java:
##########
@@ -84,7 +85,18 @@ public interface MetaStorageManager extends IgniteComponent {
      * @param revUpperBound The upper bound of revision.
      * @return Value corresponding to the given key.
      */
-    Entry getLocally(byte[] key, long revUpperBound);
+    Entry getLocally(ByteArray key, long revUpperBound);
+
+    /**
+     * Returns cursor by entries which correspond to the given keys range and 
bounded by revision number. The entries in the cursor
+     * are obtained from the local storage.
+     *
+     * @param startKey Start key of range (inclusive).
+     * @param endKey Last key of range (exclusive).
+     * @param revision Upper bound of revision.
+     * @return Cursor by entries which correspond to the given keys range.
+     */
+    Cursor<Entry> getLocally(ByteArray startKey, ByteArray endKey, long 
revision);

Review Comment:
   Done



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