ibessonov commented on code in PR #1652:
URL: https://github.com/apache/ignite-3/pull/1652#discussion_r1105846601


##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/tree/BplusTree.java:
##########
@@ -6576,6 +6577,16 @@ enum Bool {
          * @throws IgniteInternalCheckedException If failed.
          */
         boolean apply(BplusTree<L, T> tree, BplusIo<L> io, long pageAddr, int 
idx) throws IgniteInternalCheckedException;
+    }
+
+    /**
+     * Extension of the {@link TreeRowClosure} with the ability to {@link 
#map(Object) convert} tree row to some object.
+     */
+    public interface TreeRowMapClosure<L, T extends L, R> extends 
TreeRowClosure<L, T> {

Review Comment:
   This is clever, thank you!



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