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


##########
modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/mv/RowVersion.java:
##########
@@ -36,11 +37,16 @@ public class RowVersion implements Storable {
      * A 'timestamp' representing absense of a timestamp.
      */
     public static final Timestamp NULL_TIMESTAMP = new 
Timestamp(Long.MIN_VALUE, Long.MIN_VALUE);
+
     /**
      * Represents an absent partitionless link.
      */
     public static final long NULL_LINK = 0;
 
+    public static boolean isNullLink(long link) {
+        return PageIdUtils.pageIndex(link) == 0;

Review Comment:
   I can introduce additional constant if you wish



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