You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "ademakov (via GitHub)" <gi...@apache.org> on 2023/06/30 11:09:42 UTC

[GitHub] [ignite-3] ademakov commented on a diff in pull request #2256: IGNITE-19666 Remove nullmaps from binary tuples

ademakov commented on code in PR #2256:
URL: https://github.com/apache/ignite-3/pull/2256#discussion_r1247745262


##########
modules/binary-tuple/src/main/java/org/apache/ignite/internal/binarytuple/BinaryTupleParser.java:
##########
@@ -551,7 +512,16 @@ private int getOffset(int index) {
     }
 
     /**
-     * Decode a non-trivial Date element.
+     * Gets array of bytes from a given range in the buffer.
+     */
+    private byte[] getBytes(int begin, int end) {
+        byte[] bytes = new byte[end - begin];
+        buffer.duplicate().position(begin).limit(end).get(bytes);

Review Comment:
   This is available only since jdk13, for jdk11 it won't work.



-- 
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: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org