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

Igor Sapego commented on IGNITE-4617:
-------------------------------------

There is an issue I'm currently working on. Let's say we are putting value of 
some type in cache for the first time. In this case we do not yet have it's 
metadata stored, but we already provide  user a {{BinaryObject}} instance of 
the type to calculate hash code if he provides custom 
{{BinaryIdentityResolver}} implementation. So if user tries to get internal 
fields as a {{BinaryObject}} they'd got an exception.

Currently I'm going to check metadata which is pending for update. For now it 
seems to me like this is going to fix an issue.

> CPP: Implement Field-access methods for binary objects
> ------------------------------------------------------
>
>                 Key: IGNITE-4617
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4617
>             Project: Ignite
>          Issue Type: Task
>          Components: platforms
>    Affects Versions: 1.8
>            Reporter: Igor Sapego
>            Assignee: Igor Sapego
>              Labels: cpp
>             Fix For: 1.9
>
>
> Currently we have very limited implementation of binary objects that does not 
>  provide access to fields of the binary object. At least such methods as 
> {{HasField}} and {{GetField}} should be implemented.



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

Reply via email to