[ https://issues.apache.org/jira/browse/IGNITE-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14996458#comment-14996458 ]
Vladimir Ozerov commented on IGNITE-1847: ----------------------------------------- Looks like we need to do the following things: 1) Remove unused "fldIdToName" from BinaryMetaDataImpl 2) "fields" must ba changed to "string -> int" from map instead of "string -> string". 3) Add "typeId" field to metadata. 4) Decouple BinaryMetaDataImpl and BinaryType. Implementation of BinaryType interface must be a wrapper around BinaryMetaDataImpl (which is essentially a POJO) and add PortableContext to be able to resolve fields. > Portables: add "field" method to PortableMetadata. > -------------------------------------------------- > > Key: IGNITE-1847 > URL: https://issues.apache.org/jira/browse/IGNITE-1847 > Project: Ignite > Issue Type: Task > Components: general, interop > Affects Versions: ignite-1.4 > Reporter: Vladimir Ozerov > Assignee: Vladimir Ozerov > Priority: Critical > Fix For: 1.5 > > > 1) Add "PortableField field()" method to PortableMetadata. Currently it is > located on "PortableObject", which is wrong. > 2) PortableObject "field" and "hasField" methods must go through cached > PortableFields. -- This message was sent by Atlassian JIRA (v6.3.4#6332)