You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2017/05/24 11:26:04 UTC

[jira] [Comment Edited] (IGNITE-4575) Implement in Ignite wrapper for enums based on H2 user value type

    [ https://issues.apache.org/jira/browse/IGNITE-4575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16021314#comment-16021314 ] 

Pavel Tupitsyn edited comment on IGNITE-4575 at 5/24/17 11:25 AM:
------------------------------------------------------------------

.NET is failing because it does not expect enum field map in the metadata. We need to implement all the new APIs there:
* {{IBinary.BuildEnum(string, string)}}
* {{IBinary.RegisterEnum(string, string)}}
* {{IBinaryObject.EnumName}}
* Serialize and deserialize enums in binary form ({{GridBinaryMarshaller.BINARY_ENUM = 38}} type code}}

I'm working on these in a separate branch.


was (Author: ptupitsyn):
.NET is failing because it does not expect enum field map in the metadata. We need to implement all the new APIs there:
* {{IBinary.BuildEnum(string, string)}}
* {{IBinary.RegisterEnum(string, string)}}
* {{IBinaryObject.EnumName}}
* Serialize and deserialize enums in binary form ({{GridBinaryMarshaller.BINARY_ENUM = 38}} type code}}

I'm working on these in a separate branch.

[~vozerov] can you please explain why do we need {{IgniteBinary.registerEnum}} method? We don't have such methods for regular types, they are registered either in {{BinaryConfiguration}} or automatically.

> Implement in Ignite wrapper for enums based on H2 user value type
> -----------------------------------------------------------------
>
>                 Key: IGNITE-4575
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4575
>             Project: Ignite
>          Issue Type: Task
>          Components: sql
>            Reporter: Alexander Paschenko
>            Assignee: Sergey Kalashnikov
>              Labels: important
>             Fix For: 2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)