You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/09/22 14:06:07 UTC

[GitHub] [ignite-3] AMashenkov commented on a change in pull request #349: IGNITE-14679 Schema serialization.

AMashenkov commented on a change in pull request #349:
URL: https://github.com/apache/ignite-3/pull/349#discussion_r713979259



##########
File path: modules/schema/src/main/java/org/apache/ignite/internal/schema/NativeTypes.java
##########
@@ -317,4 +318,85 @@ public static NativeType from(ColumnType type) {
                 throw new InvalidTypeException("Unexpected type " + type);
         }
     }
+
+    /**
+     * Reads native type from byte buffer.
+     *
+     * @param buf Byte buffer.
+     * @return Native type.
+     */
+    public static NativeType fromByteBuffer(ExtendedByteBuffer buf) {

Review comment:
       Let's move this method to SchemaSerializerImpl.




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