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

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

I've run into a something, that seems like a pretty serious problem to me. 
Current implementation of binary format requires uses field ids in object 
schema. To resolve such ids from name one have to use 
{{TemplatedBinaryIdResolver}}, which is obviously enough templated and requires 
object type. So basically this all leads to the following, to get valid 
{{BinaryObject}} on which we can call {{HasField}} and {{GetField}} methods 
user still needs to specify object type. Something like:
{code}
BinaryObject obj = cache.GetBinary<SomeType>(key);
BinaryObject field = obj.GetBinaryField<SomeInnerType>("field_name");
{code}


> 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