zstan commented on code in PR #13085:
URL: https://github.com/apache/ignite/pull/13085#discussion_r3153442400


##########
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/H2Utils.java:
##########
@@ -604,6 +605,24 @@ public static Value wrap(CacheObjectValueContext coCtx, 
Object obj, int type) th
         throw new IgniteCheckedException("Failed to wrap value[type=" + type + 
", value=" + obj + "]");
     }
 
+    /**
+     * Unwraps {@link Value} to respective object.
+     *
+     * @param val Value.
+     * @return Unwrapped object.
+     */
+    public static Object unwrap(Value val) {
+        // Gets time preserving nanoseconds. Method getObject() returns Time 
object without nanoseconds.

Review Comment:
   not clear, may be change getObject() -> ValueTime#getObject() ? and also 
move to java doc section ? 



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